Commit graph

  • febe8ca937 Add register offset and postincrement memory operations. David Given 2013-05-19 12:39:35 +0100
  • fc2833d456 Add most vanilla memory load/store instructions. David Given 2013-05-19 00:56:56 +0100
  • fc1b3672a3 Reapply bugfix to sbrk() which got dropped during the move from linx386/libsys to liblinux. Set errno correctly. David Given 2013-05-18 13:00:37 +0100
  • c18a82ec40 Apply build system fixes for OpenBSD contributed by George Koehler. David Given 2013-05-18 12:15:53 +0100
  • 26877d3c4f Add a whole bunch of VC4 opcodes. David Given 2013-05-17 23:30:49 +0100
  • 5378e3fe53 Add special relocation type for VC4 jump instructions. David Given 2013-05-17 22:40:50 +0100
  • 5b4aa07dee Merge fixes from trunk. David Given 2013-05-17 15:28:04 +0100
  • 9a513e8ef3 Fix warning. David Given 2013-05-17 00:04:54 +0100
  • e7c2029c9c Dependency fixes. David Given 2013-05-17 00:04:37 +0100
  • 32ebc502c8 Skeleton of VideoCore IV support for the Raspberry Pi. David Given 2013-05-17 00:03:38 +0100
  • e5f6d5acfa Fix buffer overrun looking up type information for op_lab pseudoops (as they're not EM opcodes, we shouldn't look them up in em_flags!). David Given 2013-05-16 22:02:59 +0100
  • f70f78b6e4 Correctly generate dependency information. David Given 2013-05-16 22:02:00 +0100
  • 84f81a442c Merge in build system changes. David Given 2013-05-16 14:33:19 +0100
  • 24ef1627ec A few last build tweaks. David Given 2013-05-16 14:20:58 +0100
  • 11377070fd Update distribution files. David Given 2013-05-15 23:46:15 +0100
  • 8fbce949f5 Now describe the make-based build system in the README. David Given 2013-05-15 23:12:05 +0100
  • aaa3f14a79 Fix build error in opt which was causing all code, everywhere, to be broken. Remember to build opt2 too. David Given 2013-05-15 22:09:28 +0100
  • e9233b4712 Build ego. David Given 2013-05-15 21:14:06 +0100
  • f6c43b95ef Modula-2 now works. David Given 2013-05-14 22:24:38 +0100
  • 66aebcdd91 Pascal compiler now runs. David Given 2013-05-14 20:47:04 +0100
  • a6ebaeabd0 Basic compiler now runs. David Given 2013-05-14 18:01:38 +0100
  • d5f0107746 Build the Basic run-time library (after some modernisation). David Given 2013-05-14 16:11:29 +0100
  • a68b117e96 Add missing dependency. David Given 2013-05-14 14:55:29 +0100
  • 07453d184a Top, topgen, aelflod. Moved the libraries back into the platform-specific directories --- wrangling descr files was too hard. C programs can be built for cpm, pc86, linux386, linux68k! David Given 2013-05-13 23:26:15 +0100
  • 442306d557 Split off some of the platform-independent stuff (such as as and ncg). David Given 2013-05-13 22:12:46 +0100
  • 81778b603f Merge updates from trunk. David Given 2013-05-13 12:37:27 +0100
  • af0dedeb6e Fix typo. David Given 2013-05-13 11:14:10 +0100
  • b0c238eb5d Made a start on building the runtimes for each platform and language; the Linuxes all build. David Given 2013-05-12 23:51:55 +0100
  • c1aca7dae5 First milestone of replacing the build system. David Given 2013-05-12 20:45:55 +0100
  • d89f172841 Change fatal() and error() to use varargs. David Given 2013-05-10 12:04:21 +0100
  • 33b4873932 Readjust after merge to default. David Given 2013-05-09 18:15:49 +0100
  • d91a1dc1a6 Merge changes from branch: linux68k platform, linuxppc platform (partially working), and miscellaneous changes to support these. David Given 2013-05-09 18:14:16 +0100
  • b9b808e01a Apply George Koehler's aelflod fix for generating non-EM_386 binaries. Adjust platforms to use it. Fix some bugs in the linux386 platform. David Given 2013-05-09 15:54:23 +0100
  • 99d7f513f2 Properly error out if something goes wrong rather than ploughing ahead anyway. David Given 2013-05-09 11:20:36 +0100
  • bcfb3d802f Add pmfile for m68020 libend. David Given 2013-05-09 00:58:35 +0100
  • 8e2d027c49 Add pmfile for m68020 libem. David Given 2013-05-09 00:57:47 +0100
  • 8d0261473d Add missing linux68k platform and liblinux support library. David Given 2013-05-09 00:56:10 +0100
  • c93cb69959 Check in incomplete Linux PowerPC and M68K work. David Given 2013-05-08 00:48:48 +0100
  • c8fdcff960 Some fixes for aelflod and aslod. George Koehler 2013-04-24 19:57:23 -0400
  • dccecc5d45 Back out erroneous change. David Given 2012-12-14 11:56:21 +0000
  • 0fc7fd5d33 Prevent segfault when trying to print an error message. George Koehler 2012-10-24 13:44:50 -0400
  • 4349d702fa Change from using platform-specific types to stdint platform-independent types when reading the structure header. David Given 2012-09-27 11:32:40 +0100
  • 2beb3646a7 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 +0100
  • 7ef9b79c11 Merge deletion of many undead files. George Koehler 2012-09-23 15:31:16 -0400
  • 3dcc3bd1cf Allow pc86 bootloader to boot from more floppy drives. George Koehler 2012-09-23 14:43:22 -0400
  • e7c79415b5 Prevent division by zero in aslod. George Koehler 2012-09-21 22:51:12 -0400
  • 0131ca4d46 Delete 689 undead files. George Koehler 2012-09-20 22:26:32 -0400
  • be234ea759 *Again* fix fit16i() for systems with 64-bit long. George Koehler 2012-09-19 23:39:51 -0400
  • 8bf34937f1 Delete old and unused files from modules/src/em_code George Koehler 2012-09-17 16:04:55 -0400
  • 99eb12a282 Fix fit16i() for systems with 64-bit long. George Koehler 2012-09-16 19:57:07 -0400
  • 96ea0a5903 Fix more functions in util/ack for 64-bit hosts. George Koehler 2012-09-07 16:28:10 -0400
  • 800d4ae032 Fix cemcom.ansi for 64-bit hosts. George Koehler 2012-09-07 15:53:13 -0400
  • 6ea172d0d9 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 +0000
  • 1072a8797e Added atol() that ignores overflow, so that unsigned long constants are dealt with properly Ceriel Jacobs 2011-06-15 11:13:48 +0200
  • 2483e5723d Fixed CFU Ceriel Jacobs 2011-06-15 10:56:58 +0200
  • 58613009f8 Fixed bug reported on tack-devel mailing list on 20-3-2011 cjhjacobs 2011-05-18 19:19:19 +0200
  • b6dfaefeff Removed file that the CVS conversion procedure left in (when it shouldn't have). David Given 2011-03-20 20:47:10 +0000
  • eb0b730607 convert CVS tags cvs2hg 2011-02-11 00:51:45 +0000
  • 45ee287136 Replaced dis and new with modern implementations donated by erik@backerud.se. dtrg 2010-10-02 21:52:29 +0000
  • 075cb488a3 Call the correct kill() and getpid() syscalls rather than _kill() and _getpid(). dtrg 2010-10-02 21:51:40 +0000
  • a33473e0a5 Now call creat() and open() instead of _creat() and _open(). dtrg 2010-09-27 20:47:32 +0000
  • 7292b538bc Added support for remove() and unlink(). dtrg 2010-09-27 20:44:49 +0000
  • a8ecb11013 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 +0000
  • 085f346f8c Fixed definitions of O_* flags. dtrg 2010-08-20 19:27:09 +0000
  • c326f3c6a3 Remove references to using-machine-name-for-compiler, as we don't do that any more. dtrg 2010-08-09 22:47:33 +0000
  • a0c67da261 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 +0000
  • 293f34fa9b Flush stdout before prompting the user for input. dtrg 2010-08-06 17:02:16 +0000
  • da6111328d Flush output stream before waiting for user input. dtrg 2010-08-05 22:23:34 +0000
  • 7273130b4c fixup commit for tag 'release-6-0-pre-4' cvs2hg 2010-08-04 18:04:08 +0000
  • 9d2d5606ea Forgot to update version number. dtrg 2010-08-04 18:04:07 +0000
  • 5147166810 Updated for 6.0pre4. dtrg 2010-08-04 18:01:12 +0000
  • e537bcc321 Fixed typo. dtrg 2010-08-04 17:59:40 +0000
  • 5a872eed38 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 +0000
  • 51b41f72f8 Invoke genfiles explicitly with sh --- CVS doesn't store executable bits. dtrg 2010-08-01 10:35:33 +0000
  • ee72886e54 Renamed 'switch' variable to avoid conflict with a keyword in modern awks. dtrg 2010-08-01 10:35:04 +0000
  • 2c54f8c742 Renamed getline() to getln() to avoid conflict with glibc's version. dtrg 2010-08-01 10:34:27 +0000
  • 481bcd8a8b Added a very-nearly-noop peephole optimiser for Z80. dtrg 2008-03-20 23:20:08 +0000
  • fc44fe2185 Properly handles files ending in a partial line. dtrg 2008-03-20 22:50:50 +0000
  • 4dd1ff6d80 Archival checkin (semi-working code). dtrg 2007-11-02 18:56:58 +0000
  • 58e5e12ead fixup commit for tag 'release-6-0-pre-3' cvs2hg 2007-04-29 23:09:25 +0000
  • 54ce3f451b Configured distr system for the 6.0pre3 release. dtrg 2007-04-29 23:09:24 +0000
  • 663f4f2fb5 Cleaned up a bit and made work with the new platform architecture. dtrg 2007-04-29 23:03:24 +0000
  • 78777e802b Now using more conservative optimisation due to random seg fault issues. dtrg 2007-04-29 23:02:23 +0000
  • df088c184b 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 +0000
  • 868b8c5075 Fixed the ego parameters to actually allow extended optimisation. dtrg 2007-04-29 21:25:09 +0000
  • eb4ea1e761 Use better optimisation options. dtrg 2007-04-29 21:24:17 +0000
  • 494d9a3e4a 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 +0000
  • 6127ddf024 Fixed the trap code to write out the error message correctly. dtrg 2007-04-29 20:47:48 +0000
  • 9d0f0a8fdd 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 +0000
  • c9d7f7ef23 Added suppot for BSS clearing and command line parsing. dtrg 2007-04-29 00:28:06 +0000
  • a7323e1a8b Documented floating-point status. dtrg 2007-04-28 22:34:47 +0000
  • 3a4147a37d Added the Mandelbrot generator. dtrg 2007-04-28 22:34:05 +0000
  • be8baf3da6 Added cpm platform. dtrg 2007-04-27 22:42:41 +0000
  • 013f58f94e Added the stdint.h header file. dtrg 2007-04-27 22:42:02 +0000
  • 0d8578410c Cleaned up and enabled the support for conditionally emitting the floating-point stdio code. dtrg 2007-04-27 22:41:39 +0000
  • 7f266d6b4e Removed a completely pointless 128-byte buffer. dtrg 2007-04-27 22:41:05 +0000
  • 440d6faadd 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 +0000
  • 24ea8aee3d Updated for the 6.0pre2 release. dtrg 2007-04-24 20:45:58 +0000
  • bc5ccee8d5 Removed bashish. dtrg 2007-04-24 19:48:41 +0000
  • bfeb736c35 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 +0000