Format/typo check 1996/eldby + improve alt code
The alt code that I added a while back had '#include's but to make it more like the original I added '-include ..' to the CINCLUDE in the Makefile. The README.md has been typo/format checked.
This commit is contained in:
1 parent
04889c6384
commit
3ca67b08ff
3 files changed
+10
-5
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ CDEFINE= -DZ=35000
|
|||||||
|
|
||||||
# Include files that are needed to compile
|
# Include files that are needed to compile
|
||||||
#
|
#
|
||||||
CINCLUDE=
|
CINCLUDE= -include stdio.h -include unistd.h
|
||||||
|
|
||||||
# Optimization
|
# Optimization
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -36,12 +36,19 @@ make CFLAGS+="-DZ=20000" clobber alt
|
|||||||
Besides the fact that modern systems make it impossible to see what this program
|
Besides the fact that modern systems make it impossible to see what this program
|
||||||
does the rapid movement can be a problem for some people. It is for these
|
does the rapid movement can be a problem for some people. It is for these
|
||||||
reasons that we recommend you first try the alternate version as described
|
reasons that we recommend you first try the alternate version as described
|
||||||
above. If however you wish to see the original version in modern systems, try:
|
above.
|
||||||
|
|
||||||
|
|
||||||
|
### Original build:
|
||||||
|
|
||||||
|
If however you wish to see the original version in modern systems, try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Original use:
|
||||||
|
|
||||||
Use `./eldby` as you would `./eldby.alt` above.
|
Use `./eldby` as you would `./eldby.alt` above.
|
||||||
|
|
||||||
|
|
||||||
@@ -55,7 +62,7 @@ in a very small chunk of code.
|
|||||||
|
|
||||||
This program shows flying spheres. The program eats CPU on lesser
|
This program shows flying spheres. The program eats CPU on lesser
|
||||||
equipped systems. The program will run until termination. Terminal
|
equipped systems. The program will run until termination. Terminal
|
||||||
must be vt100 or better with 80 columns and 24 rows or more.
|
must be VT100 or better with 80 columns and 24 rows or more.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
float s=1944,x[5],y[5],z[5],r[5],j,h,a,b,d,e;int i=33,c,l,f=1;int g(){return f=
|
float s=1944,x[5],y[5],z[5],r[5],j,h,a,b,d,e;int i=33,c,l,f=1;int g(){return f=
|
||||||
(f*6478+1)%65346;}m(){x[i]=g()-l;y[i]=(g()-l)/4;r[i]=g()>>4;}main(){char t[1948
|
(f*6478+1)%65346;}m(){x[i]=g()-l;y[i]=(g()-l)/4;r[i]=g()>>4;}main(){char t[1948
|
||||||
]=" `MYmtw%FFlj%Jqig~%`jqig~Etsqnsj3stb",*p=t+3,*k="3tjlq9TX";l=s*20;while(i<s)
|
]=" `MYmtw%FFlj%Jqig~%`jqig~Etsqnsj3stb",*p=t+3,*k="3tjlq9TX";l=s*20;while(i<s)
|
||||||
|
|||||||
Reference in new issue
Block a user