ST6934@SIUCVMB.BITNET (05/28/90)
I've been recently experimenting with HyperC and have a few questions for anyone who has any experience with this program... How do you set the path properly to find the cc, ccn or ca files if you copy them to a ramcard? Currently I copy most of the program files and restart from the ramcard. Is there still a manual for sale from the developers of this program? I've noticed that some source programs from other C systems have more header files than are supplied with HyperC. Could someone direct me to a source for creating my own header files for the current standard of C? What book would you recommend for learning C? ANDY.
DICKSON@HARTFORD.BITNET (06/01/90)
Greetings, The HyperC compiler on Apple2-l seems to be defective. At least, it didn't work for me. I seem to remember receiving two copies of one of the files, which were not the same. This may have screwed me up. Could somebody either send me a working copy, or tell me how to make the existing copy on the list work properly? Thanks much, Bill D. DICKSON@HARTFORD.BITNET
ericmcg@pnet91 (Eric Mcgillicuddy) (10/22/90)
The hyperc disks don't work? try "-c.system" or double click "gs.system" from the finder on the GS. Note that you do not need to keep the files on 5 1/4" disks, move them to 3.5's or a hard disk. HyperC is very disk intesive, so a large RAMdisk is the best option (rename it /csys to make life a bit easier). Micheal Pender: prtWrite automatically sends output to slot 1, _prtInit (1) and _prtvid() are redundant. Alternatively leaves these in and replace prtWrite with putchr(char). putchr sends characters through the currently active output hooks, in the case of prtvid, it "tees" the data to both the printer driver and the video driver. One final option is to use putprt(char), this sends the char to slot 1 regardless of the output hooks and will only send a single character, which seems to fit best with your code fragment. I have written a limited scanf function (doesn't support floating point and a couple of other ANSI features), send me mail if you are interested. I have no need for this myself, I have my own assembler routines which are much faster and much smaller. To those who have specific questions you can send me private mail. However, I can not initiate private mail, I can only respond to mail received (reliably). Eric McGillicuddy Apple II Evangelist (and I mean that!!!) UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
greyelf@wpi.WPI.EDU (Michael J Pender) (10/23/90)
1. I'm working on interfacing graphics routines to Hyper C, but I can't get the machine language routines to pass values back to the calling routine. Can somebody tell me why this doesn't work? It passes back the value of like one of the parameters sent to it instead? If anyone is interested, I have all the other lo-res routines working, and in a library. .nolist sp = 0xf4 sph = sp+1 fp = sp-2 fph = fp+1 pc = fp-2 pch = pc+1 r1 = pc-2 r1h = r1+1 r2 = r1-2 r2h = r2+1 r3 = r2-2 r3h = r3+1 r4 = r3-2 r4h = r4+1 jp = r4-2 jph = jp+1 smask = jp-2 smaskh = smask+1 dsply = smask-32 rp = dsply-2 .list .even .entry _scrn ; char scrn(char x, char y); _scrn: ; Returns the color of the point indicated lda #<2 ; Sets up to pass back an integer (2 bytes) ldy #>2 jsr Alnk ldy #4 ; get x lda [sp],y cmp #40 ; is x value legal? bcs _exitscrn sta r2 ; preserve value ldy #6 ; get y lda [sp],y cmp #48 ; is y value legal? ldy r2 ; retrieve x value jsr 0xf871 sta r1 ; save color byte for return lda #0 sta r1h ; set high byte to zero lda #<-1 tay jsr Asbfpn jsr Alujp _exitscrn: jmp Artn 2. I still have no clue how to call upon the printer for use within a program. I'd love to see a code sample if possible. 3. Any ideas on how to make an independent system file that could run without all the associated files? 4. I also want to use high resolution graphics, but invoking them tends to eat the space the program occupies. I thought perhaps I could use an anchored array in the space from 0x4000 - 0x6000 so that Hyperc wouldn't try to use it for anything, but no luck. Is there a way? If so, where did I go wrong? #include <std.h> struct graphic_st { unsigned int color : 1; unsigned int pixel : 7; } plane[8192] @0x4000; main(void) { int i; char *j; j = 0xc057; /* HGR on */ i = *j; j = 0xc050; /* TEXT off */ i = *j; j = 0xc055 /* DP2 on */ i = *j; for(i = 0 ; i < 8192; i++) { plane[i].color = 1; plane[i].pixel = (i % 128); } for(i = 1 ; i < 8192; i++) printf("%d ", plane[i]); } Please reply to me personally, I doubt this interests many people anymore. Thanks. Mike. # N3 -- --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God...
penguin@gnh-igloo.cts.com (Mark Steiger) (10/25/90)
Someone on here mentioned a program called HyperC. I haven't seen it around. Could someone send me a copy of it? thanks mark Steiger [ Mark Steiger, Sysop, The Igloo 218/262-3142 300/1200/2400 baud] ProLine.:penguin@gnh-igloo America Online: Goalie5 UUCP....:crash!gnh-igloo!penguin MCI Mail......: MSteiger Internet:penguin@gnh-igloo.cts.com ARPA....:crash!gnh-igloo!penguin@nosc.mil
greyelf@wpi.WPI.EDU (Michael J Pender) (11/09/90)
I found an scanf routine, maybe I can port it to the apple, but I still haven't figured out how to get the open statement to create a new file. I want to take data from the ramcard and write it to disk. --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God... greyelf@wpi.wpi.edu Worcester, Ma 01609 - B. Simpson -- --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God...
SMILLS@SFAUSTIN.BITNET (SCOTT MILLS) (02/10/91)
Where is the best place to get Hyper C and the Docs??? . Is anyone storing up Hyper C source code?? If so where?? . Thanks in Advance, . B. Scott Mills Apple // Forever Student Consultant, Stephen F. Austin State University SMILLS@SFAUSTIN.BITNET Almost Heaven BBS: 409-362-2020 SMILLS%SFAUSTIN.BITNET@CUNYVM.CUNY.EDU
SMILLS@SFAUSTIN.BITNET (SCOTT MILLS) (02/19/91)
I have asked this question before and never received an answer so I'll try again. . Where can I get Hyper C? . Didnt used to available from the Apple2-L archives? . Help finding this will be greatly appreciated. . Thanks in Advance, . B. Scott Mills Apple // Forever Student Consultant, Stephen F. Austin State University SMILLS@SFAUSTIN.BITNET Almost Heaven BBS: 409-362-2020 SMILLS%SFAUSTIN.BITNET@CUNYVM.CUNY.EDU
edwatkeys@pro-sol.cts.com (Ed Watkeys) (02/20/91)
In-Reply-To: message from SMILLS@SFAUSTIN.BITNET I too am intensely interested in this (if it'll save me the horrors of Aztec C), and would appreciate it if you (SMILLS) kept me abreast of anything you hear... Ed ---- ProLine: edwatkeys@pro-sol Internet: edwatkeys@pro-sol.cts.com UUCP: crash!pro-sol!edwatkeys ARPA: crash!pro-sol!edwatkeys@nosc.mil
SMILLS@SFAUSTIN.BITNET (SCOTT MILLS) (02/27/91)
Well, I have dloaded the HyperC files from Plains and Kentucky more times than I care to remember and I still have a problem. . I am unable to unshrink the file Hyperc.sdk that should unshrink to the CSYS disk. It simply wont begin to unshrink or it just c crashes ShrinkIt. I have tried every version of ShrinkIt around (except for the GS ver) and stillno good. . Coulld someone, anyone, please ShrinkIt and BINSCII this file and email it to me. I have all of the other files here and will keep them and redistribute to whoever wants them, But It is all useless without the CSYS disk. . THANKS IN ADVANCE, . B. Scott Mills Apple // Forever Student Consultant, Stephen F. Austin State University SMILLS@SFAUSTIN.BITNET Almost Heaven BBS: 409-362-2020 SMILLS%SFAUSTIN.BITNET@CUNYVM.CUNY.EDU
ST6934@SIUCVMB.BITNET (04/25/91)
To ACMFIU (Albert): So what do you want to know about fp65.o and elems65.o. Andy. st6934@siucvmb.bitnet
express@pro-grouch.cts.com (Jeff Goodman) (04/27/91)
In-Reply-To: message from ST6934@SIUCVMB.BITNET I for one would like to know how to get my hand on a manual for this version of C. Ater taking a look at it it seems that some of the common headers found in other versions of C have different names in HyperC.
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (04/30/91)
There is a text file of the manual available at one of the sites, not sure which one. If you can not find a copy, send me mail. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
acmfiu@serss0.fiu.edu (ACMFIU) (05/01/91)
In article <9104250414.AA15930@apple.com> ST6934@SIUCVMB.BITNET writes: >To ACMFIU (Albert): > >So what do you want to know about fp65.o and elems65.o. > >Andy. >st6934@siucvmb.bitnet i needed it for a friend. however, he has found them embedded int the LIBC library, file, or whatever is on hyperc. personally, i don't use hyperc (i have the real think in orca/c). he would like, however, to know where to find source to CDOS and the shell in hyperc. albert
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (05/02/91)
>he would like, however, to know where to find source to CDOS and the shell >in hyperc. > >albert No can do. I beleive the Prodos version is the one currently available, so CDOS (a DOS 3.3 knock off) is not really useful. There is an alternate shell available from one of the ftp sites, source might be included. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
a.guillaume@trl.oz.au (Andrew Guillaume) (05/06/91)
In article <683@generic.UUCP>, ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: > >he would like, however, to know where to find source to CDOS and the shell > >in hyperc. > > No can do. I beleive the Prodos version is the one currently available, so > CDOS (a DOS 3.3 knock off) is not really useful. > > There is an alternate shell available from one of the ftp sites, source might > be included. I'd be grateful (others too, probably) if you could elaborate on that last statement. What alternate shell are you referring to ? What ftp site is it on ? Thanks in advance. Andrew Guillaume Internet : a.guillaume@trl.oz.au
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (05/07/91)
>> There is an alternate shell available from one of the ftp sites, source >>might >> be included. > >I'd be grateful (others too, probably) if you could elaborate on that last >statement. >What alternate shell are you referring to ? What ftp site is it on ? Either Andy (!Nicholas) or Michael Pender rewrote the HyperC shell. I do not know what they changed, other than the hello message. In fact I don't even know if it works, I've been having trouble running it from my hard drive of late. I do know that an alternate shell was written and that it exists somewhere on my hard drive and I beleive that it was sent to an ftp site somewhere. If someone could tell be how to send to comp.apple2.binaries, I'll see about uploading it. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
shrinkit@Apple.COM (Andrew Nicholas) (05/08/91)
In article <702@generic.UUCP> ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: >Either Andy (!Nicholas) or Michael Pender rewrote the HyperC shell. I do not Sorry, I may have done a lot of things, but I didn't do this one... :-) andy -- Andy Nicholas GEnie & America-Online: shrinkit Apple IIGS System Software CompuServe: 70771,2615 Apple Computer, Inc. InterNET: shrinkit@apple.com
daveh@ccwf.cc.utexas.edu (Dave Huang) (05/09/91)
In article <52580@apple.Apple.COM> shrinkit@Apple.COM (Andrew Nicholas) writes: >In article <702@generic.UUCP> ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: >>Either Andy (!Nicholas) or Michael Pender rewrote the HyperC shell. I do not >Sorry, I may have done a lot of things, but I didn't do this one... :-) I think he meant Andy (not Nicholas). In C, "!" = not, ya know :-) >-- >Andy Nicholas GEnie & America-Online: shrinkit -- David Huang | Internet: daveh@ccwf.cc.utexas.edu | "Help! My ganglion is UUCP: ...!ut-emx!ccwf.cc.utexas.edu!daveh | stuck in some chewing gum!" America Online: DrWho29 |
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (05/11/91)
>>Either Andy (!Nicholas) or Michael Pender rewrote the HyperC shell. I do not > >Sorry, I may have done a lot of things, but I didn't do this one... :-) > >andy > >-- >Andy Nicholas GEnie & America-Online: shrinkit That's why I put Andy (NOT Nicholas). UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
wogg0743@uxa.cso.uiuc.edu (William Shakespeare) (05/12/91)
With all this talk about Hyper C, does anyone know what the ownership status on it is? Is it PD, SW, or what? Also, is there source code available? Just curious, bg -- William ("Shakespeare") Gulstad / So where are the C.S. babes? wogg0743@uxa.cso.uiuc.edu / Joni Mitchell for President! I vote, so I can complain! / Did you vote? Then don't complain! Republican is the opposite of democracy! / Tune in, drop out, log on.
wogg0743@uxa.cso.uiuc.edu (William Shakespeare) (06/04/91)
How does one go about installing the patch into HyperC that will let it run on a GS? -- William ("Shakespeare") Gulstad / So where are the C.S. babes? wogg0743@uxa.cso.uiuc.edu / Joni Mitchell for President! I vote, so I can complain! / Did you vote? Then don't complain! Republican is the opposite of democracy! / Tune in, drop out, log on.
throoph@jacobs.CS.ORST.EDU (Henry Throop) (06/04/91)
In article <1991Jun4.005129.23462@ux1.cso.uiuc.edu> wogg0743@uxa.cso.uiuc.edu (William Shakespeare) writes: >How does one go about installing the patch into HyperC that will let it run >on a GS? I believe there are patches to get both the cdos and PrDOS version of HyperC working on the gs on husc6.harvard.edu. Henry -- -- Henry Throop throoph@jacobs.cs.orst.edu THROOP@GRIN1.BITNET
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (06/05/91)
>How does one go about installing the patch into HyperC that will let it run >on a GS? > >-- >William ("Shakespeare") Gulstad / So where are the C.S. babes? Place the "patch" on your HyperC and double click it. That's all. I do not think a hard drive works properly, unless it is in the root or the volume is called "/csys". I'll look into it. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
tm@well.sf.ca.us (Toshi Morita) (06/05/91)
(sorry 'bout not quoting article, but...) If the HyperC patch for the GS is the one I posted then you need to boot into BASIC.SYSTEm to apply the patch. Also, thanks for the correction on the 5 bits-per-color mistake. tm@well.sf.ca.us
rhyde@koufax.ucr.edu (randy hyde) (06/22/91)
What is the current status of this product? Has it been officially turned over to PD, shareware, etc? Or is everyone just pirating because the original organization which sold it doesn't exist anymore? *** Randy Hyde
John.Dylan@f438.n109.z1.FidoNet.Org (John Dylan) (06/22/91)
can somebody explain the following HyperC arguments to me: getl, getc, getf, getFP, get curs, getkey, kbdread, keypress, clrkb, setcursexe? I know most may seem obvious, but they don't function correctly in my programs...also any information concerning opening/closing/reading/writing/other i.o. text files is appreciated. <sigh, and is there a scanf () function internally? just under an alias?) * Origin: Europa BBS (301) 718-4690 HST/DS 14.4k (1:109/438)
stug@pro-palmtree.cts.com (Stu Graves) (06/23/91)
In-Reply-To: message from next@hardy.u.washington.edu Could someone tell me what kind of programming environment HyperC is? I am familiar with Orca/C. Is HyperC a GS specific language or //e & GS? -- stug@pro-palmtree.cts.com -- The Palmtree BBS (213) 450-9394 300-9600 v.32/42bis, MNP 1-5 -- Santa Monica, California
ST6934@SIUCVMB.BITNET (06/23/91)
Apologies to the Net... Bill Carss, did you receive the email I sent you? Andy. st6934@siucvmb.bitnet
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (06/23/91)
>What is the current status of this product? Has it been officially turned >over >to PD, shareware, etc? Or is everyone just pirating because the original >organization which sold it doesn't exist anymore? >*** Randy Hyde I assume it is shareware. There is a notice at the startup of the program stating that if you are using this manual without the docs, you can send $35 to an address that is no longer valid. It does not explicitly state "shareware" anywhere in the program or documentation, however the CDOS version is officially PD, and the screen does ask for money for documentation, so.... I am of the opinion that the programs themselves are shareware, but that the source code used to generate them is not. Does this help any? UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (06/23/91)
>can somebody explain the following HyperC arguments to me: >getl, getc, getf, getFP, get curs, getkey, kbdread, keypress, clrkb, >setcursexe? I know most may seem obvious, but they don't function > > * Origin: Europa BBS (301) 718-4690 HST/DS 14.4k (1:109/438) INT getl (file, buffer, maxlen) FILE *file; TEXT *buffer; INT maxlen; reads maxlen-2 bytes into a buffer. NULL is considered EOF, even if maxlen not reached. '\n' also terminates input. VOID getFPos(file, fpos) FILE *file; FPOS *fpos; record current fileposition in the global FPOS structure. It is defined along with FILE type structures in std.h. INT getc(file) FILE *file; read a single byte from a file. error = -1. UWORD getcurs() returns an unsigned 16-bit word containing the current cursor location. High byte holds row, low byte holds column. CHAR getkey(clearbuf) BOOL clearbuf; returns the next key pressed. it will wait until one is pressed. It clears the high bit, so keypresses in range 0 - 127. clearbuf indicates type ahead be discarded when true. INT kbdRead(buffer, maxchars) TEXT *buffer; INT maxchars; reads maxchar-2 into buffer. it returns a NULL terminated Pascal string, first oops... the last character in the buffer is NULL, but it returns the number of characters typed in. It accepts a variety control codes to edit the line, including ctrl-@ to abort the program. Output is not echoed to the screen. (see also conRead) BOOL keypress() True when key is pressed. Used when you don't care what key. VOID setcurs(curpos) UWORD curpos set current cursor location. curpos is of the same format as in getcurs. I would not bet on internal bounds checking, so make sure the cursor is on the scree before making the call. I could not find "getf". Hope this helps. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
ericmcg@pnet91.cts.com (Eric Mcgillicuddy) (06/25/91)
>Could someone tell me what kind of programming environment HyperC is? I am >familiar with Orca/C. Is HyperC a GS specific language or //e & GS? > >-- > stug@pro-palmtree.cts.com HyperC is a C compiler designed specifically to run on 8-bit Apples. It is a port from the Mac HyperC (the authors claim it took them only a month to do th port given the portability of the C source code). The environment uses a text shell like Orca, but the syntax is much different and is more like BASIC.SYSTEM than UNIX. GS owners should go with Orca/C (particularly 1.2), but IIe owners have little other choice. One advantage of HyperC is that it is optimized for size, so a program fits more comfortably in 64k than one would expect. Also it has an overlay linker that should allow segmente dprograms to run efficiently, although I have never gottern it to work properly. A problem is that it defaults to compiling to psuedo-code and then interpreting it, much like Applesoft, however if you are willing to take the size hit (about 20% bigger) you can compile to true native 6502 machine language. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com
gwyn@smoke.brl.mil (Doug Gwyn) (06/27/91)
In article <885@generic.UUCP> ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: >GS owners should go with Orca/C (particularly 1.2), >but IIe owners have little other choice. That's not true -- Manx Software Systems's "Aztec C" works fine on well- equipped Apple //es. I used it a lot on a //e and, for a while, on my IIGS.