6524 Commits

Author SHA1 Message Date
dtrg
5e831ec966 Changed to actually work. (On modern Linux systems the old version just
crashes. On old Linux systems it apparently only worked by accident.)
2010-08-06 17:06:31 +00:00
dtrg
3310ddcdac Flush stdout before prompting the user for input. 2010-08-06 17:02:16 +00:00
dtrg
dc9c6c8ca2 Flush output stream before waiting for user input. 2010-08-05 22:23:34 +00:00
cvs2hg
ec96baa6dc fixup commit for tag 'release-6-0-pre-4' 2010-08-04 18:04:08 +00:00
dtrg
9f641ff005 Forgot to update version number. 2010-08-04 18:04:07 +00:00
dtrg
742a6046e7 Updated for 6.0pre4. 2010-08-04 18:01:12 +00:00
dtrg
3ef5fe565b Fixed typo. 2010-08-04 17:59:40 +00:00
dtrg
bbdd256739 Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for). 2010-08-01 10:36:01 +00:00
dtrg
9236d6e4aa Invoke genfiles explicitly with sh --- CVS doesn't store executable bits. 2010-08-01 10:35:33 +00:00
dtrg
8256a10133 Renamed 'switch' variable to avoid conflict with a keyword in modern awks. 2010-08-01 10:35:04 +00:00
dtrg
20f09f610e Renamed getline() to getln() to avoid conflict with glibc's version. 2010-08-01 10:34:27 +00:00
dtrg
b218202619 Added a very-nearly-noop peephole optimiser for Z80. 2008-03-20 23:20:08 +00:00
dtrg
594fb05c87 Properly handles files ending in a partial line. 2008-03-20 22:50:50 +00:00
dtrg
d06e0b1670 Archival checkin (semi-working code). 2007-11-02 18:56:58 +00:00
cvs2hg
debf852e0d fixup commit for tag 'release-6-0-pre-3' 2007-04-29 23:09:25 +00:00
dtrg
e9e9c8ac50 Configured distr system for the 6.0pre3 release. 2007-04-29 23:09:24 +00:00
dtrg
a45f7db24a Cleaned up a bit and made work with the new platform architecture. 2007-04-29 23:03:24 +00:00
dtrg
4c74889bc1 Now using more conservative optimisation due to random seg fault issues. 2007-04-29 23:02:23 +00:00
dtrg
1820152008 Added optimised rules for int<<8 and uint>>8 (which can be done with simple register shuffling rather than calling .sli). 2007-04-29 23:00:31 +00:00
dtrg
c90ee3021b Fixed the ego parameters to actually allow extended optimisation. 2007-04-29 21:25:09 +00:00
dtrg
5c12b869aa Use better optimisation options. 2007-04-29 21:24:17 +00:00
dtrg
a1c93cbbe6 Now runs descr files through the ANSI C preprocessor, rather than the K&R one (which no longer exists). 2007-04-29 21:23:55 +00:00
dtrg
f4e3111f50 Fixed the trap code to write out the error message correctly. 2007-04-29 20:47:48 +00:00
dtrg
ac72c550ba Disabled the code to throw signals on EM traps; this is the platform's job (and requires working signal support, which we may not have). 2007-04-29 20:46:48 +00:00
dtrg
7e624e2f1d Added suppot for BSS clearing and command line parsing. 2007-04-29 00:28:06 +00:00
dtrg
65e8bffed3 Documented floating-point status. 2007-04-28 22:34:47 +00:00
dtrg
1189d41aec Added the Mandelbrot generator. 2007-04-28 22:34:05 +00:00
dtrg
d6fc2d19f9 Added cpm platform. 2007-04-27 22:42:41 +00:00
dtrg
c710fde0d5 Added the stdint.h header file. 2007-04-27 22:42:02 +00:00
dtrg
9d8c776888 Cleaned up and enabled the support for conditionally emitting the floating-point stdio code. 2007-04-27 22:41:39 +00:00
dtrg
dcaec5dfa8 Removed a completely pointless 128-byte buffer. 2007-04-27 22:41:05 +00:00
dtrg
d1cf99c245 Fixed a bug where loc lol stf was getting the constant pushed onto the stack *after* stf had popped it off. 2007-04-27 22:15:31 +00:00
dtrg
e02179a9fe Updated for the 6.0pre2 release. 2007-04-24 20:45:58 +00:00
dtrg
13496800ab Removed bashish. 2007-04-24 19:48:41 +00:00
dtrg
15a318b4b1 Stripped down the library to something approaching the ANSI C minimum and replaced most of the header files, to provide a reasonably consistent base to work up from. 2007-04-24 19:42:24 +00:00
dtrg
de5dfda220 Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling. 2007-04-24 19:34:34 +00:00
dtrg
4839ce3ec6 Updated use of headers to compile cleanly. 2007-04-24 19:33:53 +00:00
dtrg
5621f951a2 Ensured that _errno is always defined. Rejigged the pc86 boot code so it doesn't always waste 510 bytes of memory. 2007-04-24 19:25:00 +00:00
dtrg
116a3f49c9 Added support for the linux386 platform. Disabled building of the K&R C, Basic and Occam compilers. 2007-04-23 23:41:50 +00:00
dtrg
2b16e9f8dc Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one. 2007-04-23 23:40:59 +00:00
dtrg
87ad9a6852 Added the aelflod tool for generating ELF executables. Added documentation for aelflod and ashow. Now installs the documentation when built. 2007-04-23 23:40:10 +00:00
dtrg
f2cfcba52e Modified to allow a space between the sign and the first digit of a constant. 2007-04-23 23:24:46 +00:00
dtrg
9731e1e349 Now fetches argc, argv, env correctly from the host OS. 2007-04-23 23:24:03 +00:00
dtrg
db4d300c33 Added the 'Star Trek' example game. 2007-04-21 23:20:11 +00:00
dtrg
d48c81664f Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model. 2007-04-21 23:19:32 +00:00
dtrg
f33fd63590 Adapted for ANSI C and our pseudo-Posix syscall interface. 2007-04-21 23:18:14 +00:00
dtrg
078faadbf9 Fixed a bug where the preprocessor would occasionally lose whitespace at the beginning of lines immediately after a #endif, which was confusing the assembler. 2007-04-21 23:10:13 +00:00
dtrg
f5d41474da Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway. 2007-04-21 23:07:57 +00:00
dtrg
0e349f88a6 Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls. 2007-04-21 23:07:05 +00:00
dtrg
43857acb0b Disabled the K&R C compiler in favour of the ANSI one. 2007-04-21 23:03:35 +00:00