Commit Graph

  • 02870802f0 Back out erroneous change. master David Given 2012-12-14 11:56:21 +00:00
  • c8ebe9995a Prevent segfault when trying to print an error message. George Koehler 2012-10-24 13:44:50 -04:00
  • d17d9e31a7 Change from using platform-specific types to stdint platform-independent types when reading the structure header. David Given 2012-09-27 11:32:40 +01:00
  • 456d52f59f Change to use stdint's implementation independent types rather than short and long (which vary depending on whether you're on a 64-bit system or not). David Given 2012-09-27 10:54:41 +01:00
  • c40034452e Merge deletion of many undead files. George Koehler 2012-09-23 15:31:16 -04:00
  • f1cdb32025 Allow pc86 bootloader to boot from more floppy drives. George Koehler 2012-09-23 14:43:22 -04:00
  • 2dbbacfad9 Prevent division by zero in aslod. George Koehler 2012-09-21 22:51:12 -04:00
  • e87791b38a Delete 689 undead files. George Koehler 2012-09-20 22:26:32 -04:00
  • a44e18bb1e *Again* fix fit16i() for systems with 64-bit long. George Koehler 2012-09-19 23:39:51 -04:00
  • c56e850eca Delete old and unused files from modules/src/em_code George Koehler 2012-09-17 16:04:55 -04:00
  • eff81b4687 Fix fit16i() for systems with 64-bit long. George Koehler 2012-09-16 19:57:07 -04:00
  • 0f8745dc8d Fix more functions in util/ack for 64-bit hosts. George Koehler 2012-09-07 16:28:10 -04:00
  • ab55ecefee Fix cemcom.ansi for 64-bit hosts. George Koehler 2012-09-07 15:53:13 -04:00
  • f07a93357c Fix a 64-bitness issue (removed some untyped K&R C code that assumed ints and pointers were the same size). David Given 2012-02-27 22:36:36 +00:00
  • b9c194b210 Added atol() that ignores overflow, so that unsigned long constants are dealt with properly Ceriel Jacobs 2011-06-15 11:13:48 +02:00
  • ff34b6bce7 Fixed CFU Ceriel Jacobs 2011-06-15 10:56:58 +02:00
  • 67cda9e22f Fixed bug reported on tack-devel mailing list on 20-3-2011 cjhjacobs 2011-05-18 19:19:19 +02:00
  • cc4e74077c Removed file that the CVS conversion procedure left in (when it shouldn't have). David Given 2011-03-20 20:47:10 +00:00
  • 210a4c9ce5 convert CVS tags cvs2hg 2011-02-11 00:51:45 +00:00
  • 16e42da0ed Replaced dis and new with modern implementations donated by erik@backerud.se. dtrg 2010-10-02 21:52:29 +00:00
  • 4bc87420d1 Call the correct kill() and getpid() syscalls rather than _kill() and _getpid(). dtrg 2010-10-02 21:51:40 +00:00
  • 72bc0db96a Now call creat() and open() instead of _creat() and _open(). dtrg 2010-09-27 20:47:32 +00:00
  • 4b494f90e2 Added support for remove() and unlink(). dtrg 2010-09-27 20:44:49 +00:00
  • 072e795aa3 Fixed very old bug where Streams.GetStreamPosition would return the wrong position --- thanks to Jan Verhoeven for finding this. dtrg 2010-09-01 19:55:15 +00:00
  • d0ac75ea66 Fixed definitions of O_* flags. dtrg 2010-08-20 19:27:09 +00:00
  • 8efccf82c7 Remove references to using-machine-name-for-compiler, as we don't do that any more. dtrg 2010-08-09 22:47:33 +00:00
  • 5e831ec966 Changed to actually work. (On modern Linux systems the old version just crashes. On old Linux systems it apparently only worked by accident.) dtrg 2010-08-06 17:06:31 +00:00
  • 3310ddcdac Flush stdout before prompting the user for input. dtrg 2010-08-06 17:02:16 +00:00
  • dc9c6c8ca2 Flush output stream before waiting for user input. dtrg 2010-08-05 22:23:34 +00:00
  • ec96baa6dc fixup commit for tag 'release-6-0-pre-4' cvs2hg 2010-08-04 18:04:08 +00:00
  • 9f641ff005 Forgot to update version number. dtrg 2010-08-04 18:04:07 +00:00
  • 742a6046e7 Updated for 6.0pre4. dtrg 2010-08-04 18:01:12 +00:00
  • 3ef5fe565b Fixed typo. dtrg 2010-08-04 17:59:40 +00:00
  • bbdd256739 Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for). dtrg 2010-08-01 10:36:01 +00:00
  • 9236d6e4aa Invoke genfiles explicitly with sh --- CVS doesn't store executable bits. dtrg 2010-08-01 10:35:33 +00:00
  • 8256a10133 Renamed 'switch' variable to avoid conflict with a keyword in modern awks. dtrg 2010-08-01 10:35:04 +00:00
  • 20f09f610e Renamed getline() to getln() to avoid conflict with glibc's version. dtrg 2010-08-01 10:34:27 +00:00
  • b218202619 Added a very-nearly-noop peephole optimiser for Z80. dtrg 2008-03-20 23:20:08 +00:00
  • 594fb05c87 Properly handles files ending in a partial line. dtrg 2008-03-20 22:50:50 +00:00
  • d06e0b1670 Archival checkin (semi-working code). dtrg 2007-11-02 18:56:58 +00:00
  • debf852e0d fixup commit for tag 'release-6-0-pre-3' cvs2hg 2007-04-29 23:09:25 +00:00
  • e9e9c8ac50 Configured distr system for the 6.0pre3 release. dtrg 2007-04-29 23:09:24 +00:00
  • a45f7db24a Cleaned up a bit and made work with the new platform architecture. dtrg 2007-04-29 23:03:24 +00:00
  • 4c74889bc1 Now using more conservative optimisation due to random seg fault issues. dtrg 2007-04-29 23:02:23 +00:00
  • 1820152008 Added optimised rules for int<<8 and uint>>8 (which can be done with simple register shuffling rather than calling .sli). dtrg 2007-04-29 23:00:31 +00:00
  • c90ee3021b Fixed the ego parameters to actually allow extended optimisation. dtrg 2007-04-29 21:25:09 +00:00
  • 5c12b869aa Use better optimisation options. dtrg 2007-04-29 21:24:17 +00:00
  • a1c93cbbe6 Now runs descr files through the ANSI C preprocessor, rather than the K&R one (which no longer exists). dtrg 2007-04-29 21:23:55 +00:00
  • f4e3111f50 Fixed the trap code to write out the error message correctly. dtrg 2007-04-29 20:47:48 +00:00
  • 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). dtrg 2007-04-29 20:46:48 +00:00
  • 7e624e2f1d Added suppot for BSS clearing and command line parsing. dtrg 2007-04-29 00:28:06 +00:00
  • 65e8bffed3 Documented floating-point status. dtrg 2007-04-28 22:34:47 +00:00
  • 1189d41aec Added the Mandelbrot generator. dtrg 2007-04-28 22:34:05 +00:00
  • d6fc2d19f9 Added cpm platform. dtrg 2007-04-27 22:42:41 +00:00
  • c710fde0d5 Added the stdint.h header file. dtrg 2007-04-27 22:42:02 +00:00
  • 9d8c776888 Cleaned up and enabled the support for conditionally emitting the floating-point stdio code. dtrg 2007-04-27 22:41:39 +00:00
  • dcaec5dfa8 Removed a completely pointless 128-byte buffer. dtrg 2007-04-27 22:41:05 +00:00
  • d1cf99c245 Fixed a bug where loc lol stf was getting the constant pushed onto the stack *after* stf had popped it off. dtrg 2007-04-27 22:15:31 +00:00
  • e02179a9fe Updated for the 6.0pre2 release. dtrg 2007-04-24 20:45:58 +00:00
  • 13496800ab Removed bashish. dtrg 2007-04-24 19:48:41 +00:00
  • 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. dtrg 2007-04-24 19:42:24 +00:00
  • de5dfda220 Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling. dtrg 2007-04-24 19:34:34 +00:00
  • 4839ce3ec6 Updated use of headers to compile cleanly. dtrg 2007-04-24 19:33:53 +00:00
  • 5621f951a2 Ensured that _errno is always defined. Rejigged the pc86 boot code so it doesn't always waste 510 bytes of memory. dtrg 2007-04-24 19:25:00 +00:00
  • 116a3f49c9 Added support for the linux386 platform. Disabled building of the K&R C, Basic and Occam compilers. dtrg 2007-04-23 23:41:50 +00:00
  • 2b16e9f8dc Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one. dtrg 2007-04-23 23:40:59 +00:00
  • 87ad9a6852 Added the aelflod tool for generating ELF executables. Added documentation for aelflod and ashow. Now installs the documentation when built. dtrg 2007-04-23 23:40:10 +00:00
  • f2cfcba52e Modified to allow a space between the sign and the first digit of a constant. dtrg 2007-04-23 23:24:46 +00:00
  • 9731e1e349 Now fetches argc, argv, env correctly from the host OS. dtrg 2007-04-23 23:24:03 +00:00
  • db4d300c33 Added the 'Star Trek' example game. dtrg 2007-04-21 23:20:11 +00:00
  • 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. dtrg 2007-04-21 23:19:32 +00:00
  • f33fd63590 Adapted for ANSI C and our pseudo-Posix syscall interface. dtrg 2007-04-21 23:18:14 +00:00
  • 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. dtrg 2007-04-21 23:10:13 +00:00
  • f5d41474da Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway. dtrg 2007-04-21 23:07:57 +00:00
  • 0e349f88a6 Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls. dtrg 2007-04-21 23:07:05 +00:00
  • 43857acb0b Disabled the K&R C compiler in favour of the ANSI one. dtrg 2007-04-21 23:03:35 +00:00
  • 3756b414de Added linux386 platform. dtrg 2007-04-21 23:02:11 +00:00
  • 42c2cdb985 Updated to work with the new libmon-less setup. dtrg 2007-04-21 22:59:42 +00:00
  • 1a19c3ffec Updated to work with the linux386 platform. dtrg 2007-04-21 22:57:51 +00:00
  • cc57ec1e11 yacc source files are now run through the ANSI C preprocessor, not the K&R one. dtrg 2007-04-21 22:55:59 +00:00
  • 892a545b10 Everything is built in ANSI C now. dtrg 2007-04-21 22:55:04 +00:00
  • a5c9e8b09c Renamed the language libraries and runtimes to have more conventional names. dtrg 2007-02-26 22:36:56 +00:00
  • fd5b9e1450 fixup commit for tag 'release-6-0-pre-1' cvs2hg 2007-02-25 22:49:23 +00:00
  • 173ca7d5d7 Removed a dynamically generated file from the distribution. dtrg 2007-02-25 22:49:22 +00:00
  • e85ebeeab0 Added some OpenBSD-related comments. dtrg 2007-02-25 22:09:15 +00:00
  • 002c49ec2b Applied a patch to support OpenBSD. dtrg 2007-02-25 22:07:11 +00:00
  • 583c2df92a Replaced the call to posix.setenv() with the more portable posix.putenv(). dtrg 2007-02-25 20:59:21 +00:00
  • f07522680d Removed some explicit (and wrong) redeclarations of system functions. dtrg 2007-02-25 20:58:16 +00:00
  • 913bf332f3 Performed major renovations to make the script work on OpenBSD. dtrg 2007-02-25 20:56:41 +00:00
  • 2ac12e3015 em_table is now in /h; new_table is now in util/data. dtrg 2007-02-25 12:58:41 +00:00
  • c74f9cc2e9 Updated for the new release. dtrg 2007-02-25 12:53:55 +00:00
  • 594e84da95 Added the ability to install a built ACK, and did some general tidying. dtrg 2007-02-25 12:53:17 +00:00
  • 5da1922c4f Adjusted some of the default parameters and their names. dtrg 2007-02-25 12:52:32 +00:00
  • c5e7c60c76 Updated .distr files for the new release. dtrg 2007-02-25 12:51:55 +00:00
  • 19df20b027 em_table is now in /h, not /etc. dtrg 2007-02-25 12:51:21 +00:00
  • aacc645329 new_table is now in /util/data, not /etc. dtrg 2007-02-25 12:49:04 +00:00
  • b48e18fbd9 Now installs the man page. dtrg 2007-02-25 12:48:06 +00:00
  • 6a00063b18 Remove non-standard .SB tags. dtrg 2007-02-25 12:47:50 +00:00
  • 2b20613b72 Added shell magic. dtrg 2007-02-25 12:46:11 +00:00
  • 81b31c3a1c Moved to /h. dtrg 2007-02-25 12:45:24 +00:00