Commit Graph
314 Commits
Author SHA1 Message Date
Serge Vakulenko 635d8ff2f7 GCC configuration script unified for both kconfig and configsys.
Ling scripts modified for compatibility with CodeScape toolchain.
Fixed gcc warnings in kernel and kconfig.
2015-09-01 19:46:57 -07:00
Serge Vakulenko 585773955b Fix include paths in the kernel sources.
Max32 kernel successfully compiled with kconfig utility.
2015-08-31 00:21:41 -07:00
Serge Vakulenko d80a636a62 Create generic kconfig script for pic32 platform. 2015-08-30 21:10:19 -07:00
Serge Vakulenko 0aaf6c25f6 Merge pull request #62 from alexfru/master
Smaller C: improvements.
2015-08-29 10:35:45 -07:00
Alexey Frunze ae75f1cecc Smaller C: improvements
All architectures:
- "return" statement at function's end doesn't jump to immediately
  following epilog anymore
- zero and non-zero constants are recognized in conditional
  expressions of "if", "do/while" and "for" statements, no code
  generated to evaluate these constant conditions and related
  unnecessary jumps aren't generated anymore either
- in "for (clause-1; expr-2; expr-3) body", "expr-3" and "body" are
  now reordered to the more natural code flow "body expr-3", thereby
  getting rid of unnecessary jumps
MIPS code generator:
- function prologue/epilogue shortened further
- RA is not explicitly saved/restored in leaf functions
- assignment of 0 (e.g. "int a = 0;") is done from register 0
  directly, avoiding a load of a constant
2015-08-29 02:27:19 -07:00
Serge Vakulenko c44239cb64 Bootloader moved to a separate GitHub repository. 2015-08-28 19:32:43 -07:00
Serge Vakulenko 4634b23849 Autobuild makefile updated. 2015-08-27 22:27:33 -07:00
Serge Vakulenko 2401afee53 Autobuild script updated. 2015-08-27 19:43:03 -07:00
Serge Vakulenko 09f3488389 Add pinguino-micro to the autobuild list. 2015-08-23 23:15:32 -07:00
Serge Vakulenko b73411b3bd Autobuild script updated. 2015-08-23 22:48:02 -07:00
Serge Vakulenko 4bf3ca1292 Add autobuild script. 2015-08-23 22:45:16 -07:00
Serge Vakulenko 6419a655f4 Merge pull request #61 from alexfru/master
Smaller C: Recover ~7.5KB of data memory (room for improvements).
2015-08-22 22:19:08 -07:00
Alexey Frunze 531a56ed51 Smaller C: Recover ~7.5KB of data memory (room for improvements)
by splitting SyntaxStack[][] into two arrays and reducing
the size of the element of the first
2015-08-22 17:53:42 -07:00
Serge Vakulenko aaaa3fd193 Autobuild makefile updated. 2015-08-22 01:42:39 -07:00
Serge Vakulenko d6164dd82b Add tools/build directory. 2015-08-22 00:51:53 -07:00
Serge Vakulenko 00279386d7 Merge pull request #60 from alexfru/master
Update Smaller C.
2015-08-20 23:19:59 -07:00
Alexey Frunze b331d3e0aa Update Smaller C
- Update license text (remove irrelevant FreeBSD references)

- Update root readme.txt

- Improve prologue/epilogue generation
  Don't generate unnecessary jumps back and forth to/from
  "sub sp, size_of_locals".
  Instead, with the help of fgetpos()/fsetpos()
  initially write ";sub sp,              0" and then, when
  the size is finally known, go back and overwrite it with
  " sub sp, size_of_locals".
2015-08-20 22:37:08 -07:00
Serge Vakulenko c8939dc646 Fix bug in assembler: incorrect reordering of branch instruction.
Increase cpp buffer size.
2015-08-20 20:55:55 -07:00
Serge Vakulenko c2a86d50bb Merge pull request #59 from ibara/master
Update to emg 1.8.
2015-08-19 13:51:00 -07:00
Brian Callahan d29b887f18 Update to emg 1.8 2015-08-12 22:09:14 -04:00
Serge Vakulenko f71ce9fc62 Pinguino-micro: kernel configuration updated. 2015-07-23 20:50:56 -07:00
vak 0a1960c864 Makefiles updated to properly build and install pdc and libreadline. 2015-07-18 21:44:58 -07:00
Serge Vakulenko e8cb02f3f7 Added a tiny implementation of readline library, based on linenoise sources.
See https://github.com/antirez/linenoise for details.

Implemented a routine atexit() in libc.

Pdc modified to use readline library.
2015-07-18 18:41:46 -07:00
Serge Vakulenko 0b8e8bd520 Added pdc: the programmers desktop calculator,
imported from https://github.com/daniel-thompson/pdc repository.
2015-07-18 16:30:40 -07:00
Serge Vakulenko 84247c1ba5 Merge pull request #57 from daniel-thompson/groff
Add groff (which provides nroff) to the list of required packages.
2015-07-04 20:10:15 -07:00
vak 0c3fffb6f6 Merge pull request #56: Fix build for gcc >= 5.0.
gcc 5.0 defaults to -std=gnu11 meaning code which relies on implicit
ints will no longer compile. Passing -std=gnu89 restores the default
but causes problems because the system headers are written in gnu11.
Using -idirafter instead of -nostdinc resolves all problems and should
be compatible with old GCC versions (and clang).
2015-07-04 19:59:43 -07:00
Sergey 66cadb02a1 Fix uudecode.0 path in manifest. 2015-07-04 19:21:33 -07:00
Sergey be7c8f804e Merge branch 'sinetek-uuencode'. 2015-07-04 19:14:42 -07:00
Sergey af1147432a Merge branch 'uuencode' of https://github.com/sinetek/retrobsd into sinetek-uuencode 2015-07-04 19:14:06 -07:00
Serge Vakulenko a9b2a816ba Merge pull request #54 from sinetek/fold
fold - sync with FreeBSD 2.0
2015-07-04 19:01:29 -07:00
Sergey 0329394f94 Add fold utility from FreeBSD 2.0. 2015-07-04 19:00:20 -07:00
Sergey 1bf595e11a Create $DESTDIR/share/calendar directory on install.
Also, added .gitignore for all new components.
2015-07-04 18:46:48 -07:00
Serge Vakulenko 455d7aeffe Merge pull request #53 from sinetek/calendar
calendar - sync with FreeBSD 2.0.
2015-07-04 16:46:52 -07:00
Serge Vakulenko 694c364cb4 Merge pull request #52 from sinetek/md5
md5 - sync with FreeBSD 2.0.
2015-07-04 16:44:58 -07:00
Serge Vakulenko 75470f1ac5 Merge pull request #51 from sinetek/master
Pull in a few games.
2015-07-04 16:41:23 -07:00
Daniel Thompson 804d646577 Add groff (which provides nroff) to the list of required packages.
debootstraped images will not have this by default.
2015-07-04 20:18:17 +01:00
sinetek 9623203f20 uuencode/uudecode - sync with FreeBSD 2.0 2015-07-03 16:54:18 +07:00
sinetek 8d061f04e3 fold - sync with FreeBSD 2.0 2015-07-03 16:35:12 +07:00
sinetek 49550e87d8 calendar - sync with FreeBSD 2.0 2015-07-03 16:07:55 +07:00
sinetek 6504a97fd1 md5 - sync with FreeBSD 2.0 2015-07-03 15:05:54 +07:00
sinetek b81bb822f3 pig - sync with FreeBSD 2.0 2015-07-03 13:41:24 +07:00
sinetek 236fc62bb3 pom - sync with FreeBSD 2.0 2015-07-03 13:25:25 +07:00
sinetek 3890f0a6aa caesar - sync with FreeBSD 2.0 2015-07-03 13:12:25 +07:00
sinetek 24e057667e name clash with posix function 2015-07-03 10:09:29 +07:00
Serge Vakulenko 0cf79d71cf Added missing exception handler at startup.S. 2015-06-26 20:24:35 -07:00
Serge Vakulenko 229b664f35 Added kernel configuration for Olimex Pinguino-Micro board (with mx795 chip). 2015-06-26 14:08:59 -07:00
Serge Vakulenko 4c343f1525 Fixed bug in assembler: incorrect reordering. 2015-06-25 22:11:54 -07:00
Serge Vakulenko 219e2c3071 Fixed bug in rogue: incorrect use of NL for cursor positioning. 2015-06-24 22:45:33 -07:00
Serge Vakulenko 9d39282ae9 All paths moved to path.h.
Cleanup in curses.h: removed reg definition.
All include files reformatted for 4-space indent.
2015-06-24 20:57:08 -07:00
Serge Vakulenko 81a8a8379d Deleted unused include files dbm.h and pcc.h.
Deleted library functions stty() and gtty().
PicoC built in mips16 mode, without floating point support.
2015-06-24 19:19:46 -07:00