Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1853 | yogev_ezra | 1 | INTRO TO SPHINX C-- (updated 28 Oct 1996) |
2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
3 | |||
4 | Hello, and welcome to SPHINX C--. C-- is a language I (Peter Cellik) |
||
5 | created, it is a half way point between C and Assembly. The main thought |
||
6 | behind C-- is to create very small, and hopefully fast programs. The output |
||
7 | efficiency is close to assembly with the source file being similar to C and |
||
8 | thus more readable than assembly source. C-- can be used as a stand alone |
||
9 | language, or, via the use of Microsoft compatible OBJ output, be used within |
||
10 | another language such as C++ or Borland Pascal. |
||
11 | |||
12 | This is the final release of C--! It has been over a year since I have made |
||
13 | any changes to C--, so I have decided its time to release it all to the |
||
14 | public domain. I have enjoyed your responses over the years and I look |
||
15 | forward to more. I have had replies from over 25 different countries. |
||
16 | Thank you everyone for saying hello. Sorry if I did not reply, sometimes |
||
17 | there just isn't time. |
||
18 | |||
19 | The file is C--FINAL.ZIP. It should contain the compiler, the examples and |
||
20 | also the source code. |
||
21 | |||
22 | |||
23 | REQUIREMENTS: |
||
24 | ~~~~~~~~~~~~~ |
||
25 | System Requirements: |
||
26 | - 8086 or higher CPU computer |
||
27 | - DOS 3.0 or greater |
||
28 | - 512K RAM or greater |
||
29 | - Keyboard (I should hope) |
||
30 | - a hard drive will really speed things up, though C-- can even run off a |
||
31 | floppy if you are not in a hurry |
||
32 | - a mouse may assist navigation through the C-- Work Bench, but the |
||
33 | keyboard can be used instead |
||
34 | - some of the example files require VGA display, if you do not have VGA |
||
35 | you are missing out on life |
||
36 | |||
37 | Programmer Requirements (uh-oh): |
||
38 | - Brain (a good one too) |
||
39 | - Reasonable understanding of C or similar high level language |
||
40 | - Some 8086 or higher assembly knowledge, the more the better |
||
41 | |||
42 | |||
43 | FILE LIST: |
||
44 | ~~~~~~~~~~ |
||
45 | The following files should be included in the C--C????.ZIP package: |
||
46 | |||
47 | .\C-- EXE // The SPHINX C-- Compiler |
||
48 | .\C-- OVL // File required by C--.EXE |
||
49 | .\WB COM // C-- Work Bench Driver |
||
50 | .\WB EXE // C-- Work Bench Main Program |
||
51 | .\C--INFO DOC // Info on the C-- Programming Language |
||
52 | .\C--ASM DOC // Info on C-- Inline Assembly Language |
||
53 | .\STAKPROC DOC // Info on C-- stack procedures |
||
54 | .\REGPROCS DOC // Info on C-- REG procedures and macros |
||
55 | .\WBHELP DOC // Info on using the C-- Work Bench |
||
56 | .\ALLPROCS DOC // List of all stack and REG procedures and macros |
||
57 | .\???????? H-- // Some C-- header files |
||
58 | .\README DOC // This file your reading |
||
59 | .\examples\GUS\*.* // Gravis Ultra Sound example programs |
||
60 | .\examples\OBJ\*.* // OBJ file output example programs |
||
61 | .\examples\OTHER\*.* // Misc. example programs |
||
62 | .\examples\ROCK\*.* // VGA game example program |
||
63 | .\examples\SBLASTER\*.* // Sound blaster example programs |
||
64 | .\examples\SIMPLE\*.* // Small and simple example programs |
||
65 | .\examples\SYSTEM\*.* // System detection example programs |
||
66 | .\examples\TSR\*.* // Terminate and Stay Resident example programs |
||
67 | .\examples\VGA\*.* // VGA example programs |
||
68 | .\examples\stuff\*.* // some personal examples |
||
69 | .\examples\HISTORY.DOC // Revision history of this example package |
||
70 | .\source\*.* // Source for SPHINX C-- Compiler and Work Bench |
||
71 | |||
72 | NOTE: I do not take credit (or blame) for EURO_MOD.EXE, it is supplied as a |
||
73 | usefully utility which can be accessed via a C-- header file. It is |
||
74 | free and, as far as I understand, can be used and distributed by |
||
75 | anyone for anyone. |
||
76 | |||
77 | |||
78 | |||
79 | HOW TO START: |
||
80 | ~~~~~~~~~~~~~ |
||
81 | UnZIP the C--FINAL.ZIP package using the '-d' option. |
||
82 | |||
83 | Next, set the 'C--' environmental variable to the full path of the directory |
||
84 | you unzipped into. C-- uses the 'C--' environmental variable to find the |
||
85 | compiler, help files and include files. For example, if you unzipped C-- |
||
86 | into the directory 'C:\C--', then you would type: |
||
87 | |||
88 | SET C--=C:\C-- |
||
89 | |||
90 | You may wish to add the above line to your 'AUTOEXEC.BAT'. |
||
91 | |||
92 | You may then type WB at the DOS prompt to start the C-- Work Bench. Take a |
||
93 | look at some the *.C-- example files. Press F3 to load and F5 to compile and |
||
94 | run. |
||
95 | |||
96 | Be sure to be in the same directory as the source file(s) for the *.C-- file |
||
97 | may need to load some other files, such as palettes and bitmaps. Use the |
||
98 | 'Change Dir...' command in the 'File' menu to change directories. |
||
99 | |||
100 | After you get a taste of what it can do, take a look at the file 'C--INFO.DOC' |
||
101 | for information on how to program in C--. 'C--INFO.DOC' can be viewed in the |
||
102 | C-- Work Bench by pressing |
||
103 | the 'Help' menu. |
||
104 | |||
105 | |||
106 | THE PRICE: |
||
107 | ~~~~~~~~~~ |
||
108 | This version of C-- is GREENWARE, and you are free to use it so long as you |
||
109 | make an effort everyday to help out the environment. A few ideas: |
||
110 | - use only recycled computer paper |
||
111 | - be sure to recycle the computer paper after you use it |
||
112 | - use public transport |
||
113 | - sell that 80 cylinder car of yours and buy a small 4 cylinder, or |
||
114 | better yet, buy a motorbike |
||
115 | - support Green Peace |
||
116 | - REDUCE-REUSE-recycle |
||
117 | - stop smoking |
||
118 | - ride a bike to work or school |
||
119 | - don't buy products that are harmful to the environment |
||
120 | - stop using weed killers on your lawn |
||
121 | - support Friends of the Earth |
||
122 | - recycle your cans |
||
123 | - don't buy products that have lots of extra packaging |
||
124 | - use a fax modem instead of a paper fax machine |
||
125 | - reuse your plastic bags |
||
126 | - (you get the idea) |
||
127 | |||
128 | |||
129 | DISCLAIMER: |
||
130 | ~~~~~~~~~~~ |
||
131 | I accept no responsibility for any damage or loss of time, hardware, sanity, |
||
132 | software or data caused by this product or programs made with it. So there! |
||
133 | |||
134 | |||
135 | FINAL NOTES: |
||
136 | ~~~~~~~~~~~~ |
||
137 | Any programs you make with C-- you may do with as you wish. I would greatly |
||
138 | appreciate any feedback you can give me. Just say hello, or send me some |
||
139 | cool stuff. Send me your comments, maybe even some code you have written, |
||
140 | I would like them very much. |
||
141 | |||
142 | I can be contacted at: PETER SPHINX CELLIK |
||
143 | RR#2 SITE 33 C11 |
||
144 | GABRIOLA ISLAND B.C. |
||
145 | V0R 1X0 |
||
146 | CANADA |
||
147 | |||
148 | Current E-mail Address: cellik@sfu.ca |
||
149 | |||
150 | Hope to hear from you soon. |
||
151 | |||
152 | /* end of README.DOC */ |