The "Ass-Backward Calculator" for the Apple //GS - an RPN calculator NDA
Go to file
Jeremy Rand b87e282de0 Mention needing to fix scap.h to build the code on the //GS 2013-09-26 23:24:01 -04:00
expr More work on copy/paste and other NDA functionality 2013-09-02 12:28:16 -04:00
ops Add R2B and B2R operations 2013-09-26 16:20:06 -04:00
.DS_Store Add a help document. This is actually in Teach format for the GS but I think git will strip the resources so it will end up just being a text file in git unfortunately. 2013-09-26 16:32:20 -04:00
.gitignore Start work on NDA 2013-07-25 13:35:56 -05:00
Make.engine Add R2B and B2R operations 2013-09-26 16:23:38 -04:00
Make.mac Start work on NDA 2013-07-25 13:33:38 -05:00
Makefile Fix make problem with the shell command and add it to the docs 2013-09-26 23:15:57 -04:00
README.md Mention needing to fix scap.h to build the code on the //GS 2013-09-26 23:24:01 -04:00
abCError.c Fighting with crashes in the NDA and giving up for now so adding more operations 2013-07-26 21:27:29 -05:00
abCError.h Reorganize code to ensure files are not too wide for prodos 2013-07-25 09:42:02 -05:00
abCMain.c Reorganize code some more so it will build on the GS 2013-07-25 10:21:21 -05:00
abCMode.c Reorganize code to ensure files are not too wide for prodos 2013-07-25 09:42:02 -05:00
abCMode.h Reorganize code some more so it will build on the GS 2013-07-25 10:21:21 -05:00
abCStack.c More work on copy/paste and other NDA functionality 2013-09-02 12:28:16 -04:00
abCStack.h More work on copy/paste and other NDA functionality 2013-09-02 12:28:16 -04:00
abCalc.c Reorganize code some more so it will build on the GS 2013-07-25 10:21:21 -05:00
abCalc.h Create an overall abCalc module and hook up the init routines 2013-07-24 11:06:36 -05:00
abCalcHelp Fix make problem with the shell command and add it to the docs 2013-09-26 23:15:57 -04:00
abCalcNDA.c More work on copy/paste and other NDA functionality 2013-09-02 12:28:16 -04:00
abCalcNDA.defs More work on the NDA 2013-08-08 00:58:18 -04:00
abCalcNDA.rez More work on the NDA 2013-08-08 00:58:18 -04:00

README.md

abCalc

The "Ass-Backward Calculator" for the Apple //GS - an RPN calculator NDA

The source can be built both from Mac OSX, resulting in a commandline binary which you can run on a Mac and from a //GS. To build and execute on a Mac:

  1. Make sure you have Xcode installed. If not, grab it from the Mac App store.
  2. Execute "make -f Make.mac"
  3. Run "./abCalc"

In theory, it should work on any POSIX platform like Linux, Solaris, etc but I have not tested it on any other platforms.

To build this on a //GS, you need a number of prerequisites:

  1. Orca/C v2.0.1
  2. GNO/ME v2.x
  3. occ - the Orca/C wrapper
  4. dmake

To build this on a //GS, the steps are:

  1. Somehow copy the files to your //GS. Depending on whether you are using a real machine or an emulator, your approach here may be different.
  2. Find this line in your ORCACDefs/scrap.h file: extern pascal void PutScrap(unsigned Longint, Word, Pointer) inline(0x0C16,dispatcher); and change it to extern pascal void PutScrap(LongWord, Word, Pointer) inline(0x0C16,dispatcher); This is a bug in the headers which causes ORCA/C to generate the wrong output.
  3. Once you have the files, you should first execute "dmake fixfiles". This makes sure all files have the right file types.
  4. Execute "dmake"

When done, you will have two binaries. The abCalc binary is a shell command you can use from GNO/ME. And abCalcNDA is a new desk accessory which you can use from within GS/OS applications.