another new ass...

ZXNet echo conference «code.zx»

From Kirill Frolov To Dmitriy Nesmachny 13 September 2000

Press RESET immediately, Dmitriy! 11 Sep 00 23:42, Dmitriy Nesmachny wrote to Kirill Frolov: KF>> They would have done it on the Spectrum C--, it’s easy... DN> What is this S--? I hear so many times, but the doc has never seen it. If DN> there is something not very big - pls think about it... C--INFO.DOC >>> INFORMATION ON THE SPHINX C-- PROGRAMMING LANGUAGE Copyright Peter Cellik (C) 1995. All rights reserved. 0 Introduction ^^^^^^^^^^^^^^^ 0.1 C--, what can it do? C-- was designed to build small and fast programs. It is most suitable for memory resident programs (TSRs), programs requiring interrupt handling or programs that have limited resources. C-- supports, among other things, inline assembly and recursion. Also the internal C-- library of functions and macros, contains code support for files, sound, graphics and access to extended memory by the use of the XMS standard 2.0. 0.2 C--, what is it like? Nothing you have experienced before. :-) Seriously, its sort of like C and kinda like assembly. ================================================================================ 1 THE C-- LANGUAGE ^^^^^^^^^^^^^^^^^^^ 1.0 SECTION INTRODUCTION After pondering for quite some time over what the best method to explain C--to a new user, I came to the conclusion of describing some of its syntax and usage as a contrast to C. This does limit the explanation's usefulness to only C programmers, but since anyone who is anyone knows C, I don't see it a problem. :-) 1.1 IDENTIFIERS 1.1.1 Identifier Format C-- identifiers must start with either an underscore (_) or an upper or lower lower case letter. The then may be followed by any combination of underscores, upper or lower case letters or numerical digits (0 to 9). The total length of an identifier may not exceed 32 characters. [...] 1.1.2 Reserved Identifiers The following is a list of C-- reserved identifiers which can not be used as general identifiers for they have already been defined or reserved for other language purposes: byte word char int dword long fixed32s fixed32u if loop return do while else interrupt void enum inline CARRYFLAG ELSE EXTRACT FALSE FROM IF NOTCARRYFLAG NOTOVERFLOW OVERFLOW TRUE ZEROFLAG NOTZEROFLAG far __CODEPTR__ __DATAPTR__ __POSTPTR__ __COMPILER__ __DATESTR__ __YEAR__ __MONTH__ __DAY__ __HOUR__ __MINUTE__ __SECOND__ __WEEKDAY__ __VER1__ __VER2__ ESBYTE ESWORD ESCHAR ESINT ESDWORD ESLONG ESFIXED32S ESFIXED32U CSBYTE CSWORD CSCHAR CSINT CSDWORD CSLONG CSFIXED32S CSFIXED32U SSBYTE SSWORD SSCHAR SSINT SSDWORD SSLONG SSFIXED32S SSFIXED32U DSBYTE DSWORD DSCHAR DSINT DSDWORD DSLONG DSFIXED32S DSFIXED32U FSBYTE FSWORD FSCHAR FSINT FSDWORD FSLONG FSFIXED32S FSFIXED32U GSBYTE GSWORD GSCHAR GSINT GSDWORD GSLONG GSFIXED32S GSFIXED32U AX CX DX BX SP BP SI DI AL CL DL BL AH CH DH BH ES CS SS DS FS GS HS IS EAX ECX EDX EBX ESP EBP ESI EDI CR0 CR1 CR2 CR3 CR4 CR5 CR6 CR7 DR0 DR1 DR2 DR3 DR4 DR5 DR6 DR7 TR0 TR1 TR2 TR3 TR4 TR5 TR6 TR7 This list can be obtained from the C-- compiler at anytime by running it with the /KEYWORDS command line option. 1.2 CONSTANTS 1.2.1 Numerical Constants Expressing numerical constants in decimal (base 10) or hexadecimal (base 16) are the same as in C. To express a numerical constant in binary (base 2) notation, the sequence of 1's and 0's are preceded by 0b, with no spaces in between. To express a numerical constant in octal (base 8) notation, the sequence of octal digits (0 to 7) are preceded by 0o with no spaces. Some examples: 0b11111111 // same as 255 0x00F // same as 15 0o10 // same as 8 1.2.2 Character Constants Single character constants are, like in C, enclosed in single quotes ('). Also as in C, special characters are expressed by a back slash () followed by the key letter or letters. Special characters supported are: 'a' /* same as in C */ '' /* beep */ 'f' /* form feed */ 'l' /* line feed */ ' ' /* carrage return */ ' ' /* carrage return */ ' ' /* tab */ 'x??' /* ASCII character formed from the ?? which would be two hexadecimal digits for the character value */ '???' /* ASCII character formed from the ??? which would be three decimal digits for the character value */ Any other character following a back slash is just accepted. This allows the single quote to be included by ''

From Sergey Apetionok To Kirill Frolov 14 October 2000

Reply-to: 500:17/3.4 Greetings, Kirill! Once upon a time, or rather on Tuesday October 3, 2000 at 08:21:12, there was a market between Sergey Kulkov and Kirill Frolov about another new ass... Of course, I wildly apologize for the comments, but my opinion is will be next. SK>>> opportunity, I immediately switched to XAS and don’t regret it :)) KF>> Just don't call it assembler., SK> Why is he bad for you? Guys, I’ve been wildly blaming for a while now, I’m inserting myself into your market, but I want to say a couple of things words about assemblers, maybe you, dear remember, have no time, or rather and I don’t remember if (right now I’m seriously drunk) there was such a gem, or rather a demo gems, AWAKEN was called it, after all, MITOS is a coder, everything is coded, everything is in XSA's and the whole demo that I hope you saw came out in XSA but sm appeared 3.10 and what do you think, Mitos converted everything from ksas to ssm and not only space 3D, but also coded the station again, or rather something Windows-like with intuitive Helps, by the way, he not only remade the 3D space itself, but it’s also bells and whistles, even Then a special language was developed for dividing the dances so that the script would be easier for me tie i.e. avaken this shouldn't have been easy, like the elite, but it should have been be an advent plot and more In general, if you want, I can reveal in more detail everything about Avaken, if onlyyou want both according to the script and according to the code, by the way, I have all the outcomes and more space and stations but also planets are something between 3D and voxels so if you wish It’s possible to make connections and I can adjust the outcomes, I’ll be handing them out in principle, mitos Generally not against it because he didn't have any luck with this, he's currently working in some institute as a programmer and plus, for this reason, he has a wedding on October 20, the wife decided you see, stupid, but his girlfriend, I would say, is very worthy, I think he won’t disappear after her anyway, scribble soap, you can figure out the code just like that Looks like Avaken will release the full version :) The only thing is guys duplicate your soap because... at the net I rarely climb out like this If the magician doesn’t get your soap, you duplicate it once every week. the whole point is that I work and this fucking cheap job with a sliding the schedule takes up a lot of time and plus the whole family weighs on your neck in general if you It’s not entirely possible to make a connection Minsk Sergey /ARNY/ (017) 268-1929