checkpoint on fixing topbar for non-JavaScript browsers

This commit is contained in:
Landon Curt Noll committed 2024-04-24 22:42:06 -07:00
1 parent e7d69bc232
commit e9717e6a48
24 files changed
+132 -37

No files matched your search

+2 -2
View File
@@ -163,7 +163,7 @@ This entry has been tested on Windows (compiled with MS Visual Studio 2010 and
supplied is good for Mac OS X, Linux and probably other Unices. I have received
reports that the emulator works on Raspberry Pi/Android/ARM (you will need to
compile with `-fsigned-char`) and iOS. You will need to adjust the
[Makefile](%%REPO_URL%%/M2013/cable3/akefile) if your system lacks `sdl-config` to correctly point to the
[Makefile](%%REPO_URL%%/2013/cable3/Makefile) if your system lacks `sdl-config` to correctly point to the
SDL libraries and header files.
On UNIX-based systems we can get raw keystrokes using `stty`. However Windows
@@ -221,7 +221,7 @@ the `fd.img` provided, which is a FreeDOS boot disk.
Before running the emulator on a Unix-type system, `stty` needs to be used to
put the keyboard into raw mode (and afterwards it needs to be put back to
cooked). So, run the emulator using something like this script (provided as
[cable3.sh](%%REPO_URL%%/c2013/cable3/able3.sh)):
[cable3.sh](%%REPO_URL%%/2013/cable3/cable3.sh)):
``` <!---sh-->
stty cbreak raw -echo min 0
+1 -1
View File
@@ -162,7 +162,7 @@ The whole program is interpreted by macro expansion.
For example, `S (K I)` is translated to a normal C code, `(s)((k)(i))`, or
simply `s(k(i))`.
This expression returns an abstract syntax tree, and [endoh1.c](%%REPO_URL%%/e2013/endoh1/ndoh1.c)
This expression returns an abstract syntax tree, and [endoh1.c](%%REPO_URL%%/2013/endoh1/endoh1.c)
evaluates it.
This program uses a very simple "term rewriting" approach for evaluating SKI
+2 -2
View File
@@ -110,7 +110,7 @@ them.
### User-modifiable Features
The code can be user-modified simply by changing the build command line.
The following symbols are defined in the [Makefile](%%REPO_URL%%/2013/millsMakefile):
The following symbols are defined in the [Makefile](%%REPO_URL%%/2013/mills/Makefile):
* `-DLT=x1,y1,z1,x2,y2,z2,...` defines the coordinates of the lights in the
scene. It should be a comma-separated list of coordinates `(x, y, z)`, three per
@@ -129,7 +129,7 @@ The original program bound the server to `INADDR_ANY` to allow everyone to
experience the server's output. The Judges suggested that I instead restrict
the bind to `INADDR_LOOPBACK` to reduce security alarms. As a compliant veteran
of innumerable post-ship late feature additions, I have modified the
[Makefile](%%REPO_URL%%/2013/millsMakefile) to inject the new code without destroying the beautiful
[Makefile](%%REPO_URL%%/2013/mills/Makefile) to inject the new code without destroying the beautiful
spherical symmetry of the source code. In addition, I have altered the word
`sin_port` to the more family-friendly version `win_port` (via
`-Dwin_port="sin_addr.s_addr=htonl(2130706433),R.sin_port"`) to protect against