cosmopolitan/libc/runtime
Justine Tunney 9e3e985ae5 Make terminal ui binaries work well everywhere
Here's some screenshots of an emulator tui program that was compiled on
Linux, then scp'd it to Windows, Mac, and FreeBSD.

https://justine.storage.googleapis.com/blinkenlights-cmdexe.png
https://justine.storage.googleapis.com/blinkenlights-imac.png
https://justine.storage.googleapis.com/blinkenlights-freebsd.png
https://justine.storage.googleapis.com/blinkenlights-lisp.png

How is this even possible that we have a nontrivial ui binary that just
works on Mac, Windows, Linux, and BSD? Surely a first ever achievement.

Fixed many bugs. Bootstrapped John McCarthy's metacircular evaluator on
bare metal in half the size of Altair BASIC (about 2.5kb) and ran it in
emulator for fun and profit.
2020-10-19 06:38:31 -07:00
..
_exit.S Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
abort.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
arch_prctl.c Initial import 2020-06-15 07:18:57 -07:00
arememoryintervalsok.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
assertfail.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
atexit.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
buffer.h Initial import 2020-06-15 07:18:57 -07:00
carsort.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
carsort100.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
carsort1000.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
clearenv.c Initial import 2020-06-15 07:18:57 -07:00
close_s.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
closesymboltable.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
construct.S Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
cxaatexit.c Add pseudoteletypewriter to emulator 2020-08-29 23:51:09 -07:00
defer.greg.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
describeos.c Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
destruct.S Make improvements 2020-09-14 00:02:34 -07:00
directmap.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
directmap.h Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
dsohandle.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
executive.S Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
exit.S Make improvements 2020-09-14 00:02:34 -07:00
ezmap.c Make more improvements 2020-09-28 01:20:34 -07:00
ezmap.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fastmath.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
findcombinary.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
finddebugbinary.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
findmemoryinterval.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fpreset.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
free_s.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ftrace.greg.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
g_argc.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
gc.h Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
getdosargv.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
getdosenviron.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
getpagesize.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
getstack.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
gothere.greg.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
grow.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
hook.greg.c Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
init.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
internal.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
interruptiblecall.c Initial import 2020-06-15 07:18:57 -07:00
interruptiblecall.h Initial import 2020-06-15 07:18:57 -07:00
isheap.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
issetugid.c Initial import 2020-06-15 07:18:57 -07:00
mapanon.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
mapelfread.c Initial import 2020-06-15 07:18:57 -07:00
memtrack.c Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
memtrack.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
memtracknt.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
missioncritical.h Make improvements 2020-09-14 00:02:34 -07:00
mmap.c Make more improvements 2020-09-28 01:20:34 -07:00
mremap.c Initial import 2020-06-15 07:18:57 -07:00
msync-nt.c Make more improvements 2020-09-28 01:20:34 -07:00
msync.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
munmap.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
ntgetmodule.c Initial import 2020-06-15 07:18:57 -07:00
opensymboltable.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
peekall.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
piro.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
print.greg.c Make improvements 2020-09-14 00:02:34 -07:00
printmemoryintervals.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
progname.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
program_invocation_short_name.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
rbx.h Initial import 2020-06-15 07:18:57 -07:00
relocate.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ring.h Initial import 2020-06-15 07:18:57 -07:00
ringalloc.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
ringfree.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
runtime.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
runtime.mk Add The LISP Challenge 2020-10-01 01:20:13 -07:00
setstack.S Make more improvements 2020-09-28 01:20:34 -07:00
spawn.S Add pseudoteletypewriter to emulator 2020-08-29 23:51:09 -07:00
stackchkfail.c Initial import 2020-06-15 07:18:57 -07:00
stackchkfaillocal.c Initial import 2020-06-15 07:18:57 -07:00
symbolic.h Initial import 2020-06-15 07:18:57 -07:00
symbols.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
sysconf.c Initial import 2020-06-15 07:18:57 -07:00
sysconf.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
unsetenv.c Initial import 2020-06-15 07:18:57 -07:00
untrackmemoryintervals.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
weakfree.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
winmain.greg.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00