text stringlengths 0 99.6k |
|---|
cut it to the 'PAST buffer. From here |
you can 'go' to any buffer and then F6 |
will paste the buffer at the cursor location. |
You CAN NOT edit or 'go' to the PASTE |
buffer. |
4. Example of above...editing in MAIN |
area and you can't remember how to use |
a command or function. 'Go' to 'help', |
'get' a file off the disk that uses the |
function you need, cut the specific text, |
'go' back to 'main' and paste in the text |
you taged. |
5. 'setu' without parameters will list |
the defined storage devices including the |
available RAMDISKS |
6. You can modify the SHELL program to |
define the function keys to suit your |
needs and resave it to disk w/o problems. |
7. The manual mentions a "built in 'run' |
command". In fact, this does not exist! |
Part of the document problem is that the |
128 docs are poorly rewritten 64 docs, |
with even the index pages wrong! To rerun |
a program, just type the name again, if it |
is in memory, it runs without reloading. |
8. I have tried to get the compiler to work |
with the '-p' option to access my 1581 as |
device 10, ut it continues to go to device |
8 for the main compiler program. If anyone |
can figure this out, I'd appreciate the |
secret. |
9. If you are using this C compiler, and |
have figured out some undocumented goody |
please make it known to the rest of us! |
I have the version prior to PROLINE's |
sell-out to Spinnaker and the documentation |
is worse than "skimpy". They offered a BBS |
in Canada that was supposed to have updates, |
advice, and help that I could never reach. |
I would love to know how the documentation |
is w h Spinaker's version. Is it worth |
buying a new version to get better use from |
the software??? |
10. These may seem trivial to an old C |
programmer, but for a NOVICE like me, were |
major roadblocks to getting started! |
M. Tucker Brawner [73455,1440] |
A Few Useful Things to Know About Power C |
I've been working with Power C for a while now, and I've learned a |
few tricks I'd like to share with others. Hopefully we can help |
each other learn this fascinating new language. |
1. The disk-swapping discussed in the documentation for those of us |
with one drive really isn't necessary; just move the first seven |
files (shell-translator), plus stdio.h and dir.h from the Editor/ |
Compiler disk to your work disk. The new procedure is then to |
always have the work disk in the drive, except when linking in |
the function libraries. When you compile, use the syntax: |
cc -p filename |
This will go through the entire compilation process without |
asking you to change disks. |
2. The "trim" program will trim further an already trimmed file, but |
the resulting code doesn't always work! Only trim your object |
files once! |
3. When passing a variable address to a function (with the intent of |
modifying the value of the original variable directly), declare |
the original variable as "static". Power C moves the first 32 |
bytes of variables to be passed (unless declare static) into zero |
page, so an "auto" variable won't really be at the address which |
was passed. |
4. As you write your own functions which can be used in multiple |
programs, build your own function libraries. Compile and link |
the program "lib.c" on the Power C work disk, then run it. |
Library files must end with ".l". Once you have a library file |
you can give the linker the name of the library file instead of |
the names of individual object modules. |
5. The speed of the standard 1541 di drive is horrible for such a |
disk-based application; I ran out and bought BetterWorking's Turbo |
Load and Save cartridge as recommended in the documentation; it |
works very well as claimed. |
6. For those of us who need a good book to get us started, I can |
heartily recommend "C Primer Plus", by Waite, Prata, and Martin, |
published by Howard W. Sams & Company. It's more expensive than |
most, but well worth it (it's 558 pages!). |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.