Commit graph

11 commits

Author SHA1 Message Date
Peter Ferrie
adb7310d57 shave some bytes 2021-11-02 12:14:10 -07:00
Peter Ferrie
a469910340 shave some bytes 2021-10-31 09:54:36 -07:00
Justine Tunney
05d2bcbfd9 Improve LISP/C/ASM Rosetta Stone consistency 2021-10-30 00:42:55 -07:00
Alain Greppin
3b26982d9c Eval based on LISP 1.5 manual, 509 bytes 2021-09-28 05:25:24 -07:00
Ilya Kurdyukov
333c5efba4 smaller Intern function 2021-09-28 02:43:05 -07:00
Scott Wolchok
4a045620bb Fix sizeof kSymbols 2021-02-27 22:57:06 -08:00
Scott Wolchok
1058c959d8 remove extra trailing NUL on kSymbols
It wastes a byte this way -- see https://godbolt.org/z/nEj9hc
See diff of hexdump of sectorlisp.bin before/after:

```
*** before.txt  2021-02-27 13:17:47.842081600 -0800
--- after.txt   2021-02-27 13:16:40.789140700 -0800
***************
*** 31,33 ****
  000001e0: 4551 0043 4f4e 4400 4341 5200 4344 5200  EQ.COND.CAR.CDR.
! 000001f0: 434f 4e53 004c 414d 4244 4100 0090 55aa  CONS.LAMBDA...U.
  00000200: f7c7 0100 7509 d1ef 8db5 8641 e9a3 ff53  ....u......A...S
--- 31,33 ----
  000001e0: 4551 0043 4f4e 4400 4341 5200 4344 5200  EQ.COND.CAR.CDR.
! 000001f0: 434f 4e53 004c 414d 4244 4100 6690 55aa  CONS.LAMBDA.f.U.
  00000200: f7c7 0100 7509 d1ef 8db5 8641 e9a3 ff53  ....u......A...S
```

Second zero byte after LAMBDA is now uninitialized.
2021-02-27 22:57:06 -08:00
Justine Tunney
8a29ec3b23 Reduce sectorlisp to 836 bytes 2021-02-04 01:18:34 -08:00
Moonchild
d56afe537c minor tweaks so the assembly builds with clang 2020-10-27 14:20:22 -07:00
Justine Tunney
665668a7a0 Reduce sectorlisp from 948 to 856 bytes 2020-10-27 13:45:12 -07:00
Justine Tunney
a561e031ae Initial import 2020-10-26 18:21:15 -07:00