From ST2975@SIUCVMB.SIU.EDU Mon Jan 18 23:00:13 1993 Received: from calvin.sfasu.edu by umaxc.weeg.uiowa.edu (5.61.jnf/920629) on Mon, 18 Jan 93 23:00:05 -0600 id AA11327 with SMTP Received: from SIUCVMB.SIU.EDU by calvin.sfasu.EDU with SMTP (5.59/25-eef) id AA09120; Mon, 18 Jan 93 22:46:56 CST Return-Path: Message-Id: <9301190446.AA09120@calvin.sfasu.EDU> Received: from SIUCVMB.SIU.EDU by SIUCVMB.SIU.EDU (IBM VM SMTP V2R1) with BSMTP id 8060; Mon, 18 Jan 93 22:46:59 CST Date: Mon, 18 Jan 93 22:44:33 CST From: ST2975@SIUCVMB.SIU.EDU To: hyperc-l@calvin.sfasu.edu Subject: latest addition to ftp site Status: R Hi All, I've put auxfp.bsq on the ftp site in the incoming subdirectory of calvin.sfasu.edu. If I didn't send it to via email, send me a reminder. I'm still compiling an email list for those without ftp access. Following is a portion of the doc file. ============= AUXFP UTILITY ============= Auxilliary language card version of SANE for 8 bit Apples (IIc/e) and the IIGS Documentation and alterations to source Copyright(c) Apple Inc. by Andy Werner, a licensed owner of object and source code for 6502 SANE. Included files: fp65.a : source for module that elems65.o needs sane.a : source for passing parameters to the auxilliary stack, calling fp65 at 0xe000 in the auxilliary bank and returning. elems.a : source for passing parameters to the auxilliary stack and calling elems65.o in the program; elems65.o is linked and included by the HyperC linker in any program. fcmp.a : source for passing parameters to the auxilliary stack, calling fp65 at 0xe000 in the auxilliary bank and returning. fptostr.a : original source from /fp disk. strtofp.a : original source slightly modified from /fp disk. getpage.a: function that initsane calls to get a ProDOS input/output buffer. object files of above. initsane: external command that loads fp65 into the auxilliary language card. Doesn't report an error if fp65 is not found. initsane.o: similar to initsane, but could be included in a program to load fp65 into the auxilliary language card. Called via a C function : VOID initsane(); libfpaux : Not included. Instructions for creating one is. libfp: Not included. Instructions for creating one is. OPIX users: This is a solution for using SANE with OPIX. It uses none of main zero page, which OPIX uses extensively. HyperC implements SANE via extensions to the original library file, libc, and a macro file similar to Apple Inc.'s assembler macro file, except for C source. HyperC maintains its own stack in high memory, initialized at 0x9e00. It main- tains its own pseudo 16-bit registers in zero page. Documentation for HyperC is available via ftp from calvin.sfasu.edu in the pub/apple2/hyperc subdirectory. This implementation of SANE for HyperC transfers the C stack pointer to the auxilliary bank zero page, stores the C parameters in the auxilliary bank stack and calls fp65 at 0xe000. On return, the auxilliary stack pointer is saved and the main stack pointer is fetched from locations reserved by Apple Inc. in the auxilliary bank. The main zero page and stack are switched back in and control is returned to the program. This implementation saves about 8k of program space, and is documented in the appendix and disks received by sw.license@applelink.apple.com. The archive file is in binscii/shrinkit format. References: Apple IIe Technical Reference Manual/Apple IIc Technical Reference Manual ProDOS Technical Reference Manual Apple Numerics Handbook Apple Numerics Handbook Appendix (sw.license) /* Andy Werner hybrid concepts st2975@siucvmb.siu.edu * * HyperC enthusiast 65802/816 support for HyperC * * Laser 128EX 4Mhz 65802 st2975@siucvmb.bitnet */ From ST2975@SIUCVMB.SIU.EDU Tue Jan 19 00:46:14 1993 Received: from calvin.sfasu.edu by umaxc.weeg.uiowa.edu (5.61.jnf/920629) on Tue, 19 Jan 93 00:46:06 -0600 id AA01534 with SMTP Received: from SIUCVMB.SIU.EDU by calvin.sfasu.EDU with SMTP (5.59/25-eef) id AA09254; Tue, 19 Jan 93 00:37:39 CST Return-Path: Message-Id: <9301190637.AA09254@calvin.sfasu.EDU> Received: from SIUCVMB.SIU.EDU by SIUCVMB.SIU.EDU (IBM VM SMTP V2R1) with BSMTP id 8129; Tue, 19 Jan 93 00:37:53 CST Date: Tue, 19 Jan 93 00:36:07 CST From: ST2975@SIUCVMB.SIU.EDU To: hyperc-l@calvin.sfasu.edu Subject: Re:fpaux.bsq Status: R Right after putting fpaux.bsq on calvin, I discovered a bug in fcmp.a. So, I'll fix the archive and put a separate file up that just includes fcmp.a with the bug fix. Andy