ack.git
14 years agoForgot to update version number. release-6-0-pre-4
dtrg [Wed, 4 Aug 2010 18:04:07 +0000 (18:04 +0000)]
Forgot to update version number.

14 years agoUpdated for 6.0pre4.
dtrg [Wed, 4 Aug 2010 18:01:12 +0000 (18:01 +0000)]
Updated for 6.0pre4.

14 years agoFixed typo.
dtrg [Wed, 4 Aug 2010 17:59:40 +0000 (17:59 +0000)]
Fixed typo.

14 years agoPrevent build failure on modern Bisons (which are more picky than the old yacc this...
dtrg [Sun, 1 Aug 2010 10:36:01 +0000 (10:36 +0000)]
Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for).

14 years agoInvoke genfiles explicitly with sh --- CVS doesn't store executable bits.
dtrg [Sun, 1 Aug 2010 10:35:33 +0000 (10:35 +0000)]
Invoke genfiles explicitly with sh --- CVS doesn't store executable bits.

14 years agoRenamed 'switch' variable to avoid conflict with a keyword in modern awks.
dtrg [Sun, 1 Aug 2010 10:35:04 +0000 (10:35 +0000)]
Renamed 'switch' variable to avoid conflict with a keyword in modern awks.

14 years agoRenamed getline() to getln() to avoid conflict with glibc's version.
dtrg [Sun, 1 Aug 2010 10:34:27 +0000 (10:34 +0000)]
Renamed getline() to getln() to avoid conflict with glibc's version.

16 years agoAdded a very-nearly-noop peephole optimiser for Z80.
dtrg [Thu, 20 Mar 2008 23:20:08 +0000 (23:20 +0000)]
Added a very-nearly-noop peephole optimiser for Z80.

16 years agoProperly handles files ending in a partial line.
dtrg [Thu, 20 Mar 2008 22:50:50 +0000 (22:50 +0000)]
Properly handles files ending in a partial line.

16 years agoArchival checkin (semi-working code).
dtrg [Fri, 2 Nov 2007 18:56:58 +0000 (18:56 +0000)]
Archival checkin (semi-working code).

17 years agofixup commit for tag 'release-6-0-pre-3' release-6-0-pre-3
cvs2hg [Sun, 29 Apr 2007 23:09:25 +0000 (23:09 +0000)]
fixup commit for tag 'release-6-0-pre-3'

17 years agoConfigured distr system for the 6.0pre3 release. release-6-0-pre-3
dtrg [Sun, 29 Apr 2007 23:09:24 +0000 (23:09 +0000)]
Configured distr system for the 6.0pre3 release.

17 years agoCleaned up a bit and made work with the new platform architecture.
dtrg [Sun, 29 Apr 2007 23:03:24 +0000 (23:03 +0000)]
Cleaned up a bit and made work with the new platform architecture.

17 years agoNow using more conservative optimisation due to random seg fault issues.
dtrg [Sun, 29 Apr 2007 23:02:23 +0000 (23:02 +0000)]
Now using more conservative optimisation due to random seg fault issues.

17 years agoAdded optimised rules for int<<8 and uint>>8 (which can be done with simple register...
dtrg [Sun, 29 Apr 2007 23:00:31 +0000 (23:00 +0000)]
Added optimised rules for int<<8 and uint>>8 (which can be done with simple register shuffling rather than calling .sli).

17 years agoFixed the ego parameters to actually allow extended optimisation.
dtrg [Sun, 29 Apr 2007 21:25:09 +0000 (21:25 +0000)]
Fixed the ego parameters to actually allow extended optimisation.

17 years agoUse better optimisation options.
dtrg [Sun, 29 Apr 2007 21:24:17 +0000 (21:24 +0000)]
Use better optimisation options.

17 years agoNow runs descr files through the ANSI C preprocessor, rather than the K&R one (which...
dtrg [Sun, 29 Apr 2007 21:23:55 +0000 (21:23 +0000)]
Now runs descr files through the ANSI C preprocessor, rather than the K&R one (which no longer exists).

17 years agoFixed the trap code to write out the error message correctly.
dtrg [Sun, 29 Apr 2007 20:47:48 +0000 (20:47 +0000)]
Fixed the trap code to write out the error message correctly.

17 years agoDisabled the code to throw signals on EM traps; this is the platform's job (and requi...
dtrg [Sun, 29 Apr 2007 20:46:48 +0000 (20:46 +0000)]
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).

17 years agoAdded suppot for BSS clearing and command line parsing.
dtrg [Sun, 29 Apr 2007 00:28:06 +0000 (00:28 +0000)]
Added suppot for BSS clearing and command line parsing.

17 years agoDocumented floating-point status.
dtrg [Sat, 28 Apr 2007 22:34:47 +0000 (22:34 +0000)]
Documented floating-point status.

17 years agoAdded the Mandelbrot generator.
dtrg [Sat, 28 Apr 2007 22:34:05 +0000 (22:34 +0000)]
Added the Mandelbrot generator.

17 years agoAdded cpm platform.
dtrg [Fri, 27 Apr 2007 22:42:41 +0000 (22:42 +0000)]
Added cpm platform.

17 years agoAdded the stdint.h header file.
dtrg [Fri, 27 Apr 2007 22:42:02 +0000 (22:42 +0000)]
Added the stdint.h header file.

17 years agoCleaned up and enabled the support for conditionally emitting the floating-point...
dtrg [Fri, 27 Apr 2007 22:41:39 +0000 (22:41 +0000)]
Cleaned up and enabled the support for conditionally emitting the floating-point stdio code.

17 years agoRemoved a completely pointless 128-byte buffer.
dtrg [Fri, 27 Apr 2007 22:41:05 +0000 (22:41 +0000)]
Removed a completely pointless 128-byte buffer.

17 years agoFixed a bug where loc lol stf was getting the constant pushed onto the stack *after...
dtrg [Fri, 27 Apr 2007 22:15:31 +0000 (22:15 +0000)]
Fixed a bug where loc lol stf was getting the constant pushed onto the stack *after* stf had popped it off.

17 years agoUpdated for the 6.0pre2 release. release-6-0-pre-2
dtrg [Tue, 24 Apr 2007 20:45:58 +0000 (20:45 +0000)]
Updated for the 6.0pre2 release.

17 years agoRemoved bashish.
dtrg [Tue, 24 Apr 2007 19:48:41 +0000 (19:48 +0000)]
Removed bashish.

17 years agoStripped down the library to something approaching the ANSI C minimum and replaced...
dtrg [Tue, 24 Apr 2007 19:42:24 +0000 (19:42 +0000)]
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.

17 years agoFixed major typos in the signal declarations that was preventing anything that used...
dtrg [Tue, 24 Apr 2007 19:34:34 +0000 (19:34 +0000)]
Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling.

17 years agoUpdated use of headers to compile cleanly.
dtrg [Tue, 24 Apr 2007 19:33:53 +0000 (19:33 +0000)]
Updated use of headers to compile cleanly.

17 years agoEnsured that _errno is always defined. Rejigged the pc86 boot code so it doesn't...
dtrg [Tue, 24 Apr 2007 19:25:00 +0000 (19:25 +0000)]
Ensured that _errno is always defined. Rejigged the pc86 boot code so it doesn't always waste 510 bytes of memory.

17 years agoAdded support for the linux386 platform. Disabled building of the K&R C, Basic and...
dtrg [Mon, 23 Apr 2007 23:41:50 +0000 (23:41 +0000)]
Added support for the linux386 platform. Disabled building of the K&R C, Basic and Occam compilers.

17 years agoModified to run ncgg input files through the ANSI preprocessor rather than the K...
dtrg [Mon, 23 Apr 2007 23:40:59 +0000 (23:40 +0000)]
Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one.

17 years agoAdded the aelflod tool for generating ELF executables. Added documentation for aelflo...
dtrg [Mon, 23 Apr 2007 23:40:10 +0000 (23:40 +0000)]
Added the aelflod tool for generating ELF executables. Added documentation for aelflod and ashow. Now installs the documentation when built.

17 years agoModified to allow a space between the sign and the first digit of a constant.
dtrg [Mon, 23 Apr 2007 23:24:46 +0000 (23:24 +0000)]
Modified to allow a space between the sign and the first digit of a constant.

17 years agoNow fetches argc, argv, env correctly from the host OS.
dtrg [Mon, 23 Apr 2007 23:24:03 +0000 (23:24 +0000)]
Now fetches argc, argv, env correctly from the host OS.

17 years agoAdded the 'Star Trek' example game.
dtrg [Sat, 21 Apr 2007 23:20:11 +0000 (23:20 +0000)]
Added the 'Star Trek' example game.

17 years agoAdapted to tell the user what language they were written in (because they're too...
dtrg [Sat, 21 Apr 2007 23:19:32 +0000 (23:19 +0000)]
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.

17 years agoAdapted for ANSI C and our pseudo-Posix syscall interface.
dtrg [Sat, 21 Apr 2007 23:18:14 +0000 (23:18 +0000)]
Adapted for ANSI C and our pseudo-Posix syscall interface.

17 years agoFixed a bug where the preprocessor would occasionally lose whitespace at the beginnin...
dtrg [Sat, 21 Apr 2007 23:10:13 +0000 (23:10 +0000)]
Fixed a bug where the preprocessor would occasionally lose whitespace at the beginning of lines immediately after a #endif, which was confusing the assembler.

17 years agoDisabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway.
dtrg [Sat, 21 Apr 2007 23:07:57 +0000 (23:07 +0000)]
Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway.

17 years agoChanged to call the isatty() syscall directly, rather than fiddling around with non...
dtrg [Sat, 21 Apr 2007 23:07:05 +0000 (23:07 +0000)]
Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls.

17 years agoDisabled the K&R C compiler in favour of the ANSI one.
dtrg [Sat, 21 Apr 2007 23:03:35 +0000 (23:03 +0000)]
Disabled the K&R C compiler in favour of the ANSI one.

17 years agoAdded linux386 platform.
dtrg [Sat, 21 Apr 2007 23:02:11 +0000 (23:02 +0000)]
Added linux386 platform.

17 years agoUpdated to work with the new libmon-less setup.
dtrg [Sat, 21 Apr 2007 22:59:42 +0000 (22:59 +0000)]
Updated to work with the new libmon-less setup.

17 years agoUpdated to work with the linux386 platform.
dtrg [Sat, 21 Apr 2007 22:57:51 +0000 (22:57 +0000)]
Updated to work with the linux386 platform.

17 years agoyacc source files are now run through the ANSI C preprocessor, not the K&R one.
dtrg [Sat, 21 Apr 2007 22:55:59 +0000 (22:55 +0000)]
yacc source files are now run through the ANSI C preprocessor, not the K&R one.

17 years agoEverything is built in ANSI C now.
dtrg [Sat, 21 Apr 2007 22:55:04 +0000 (22:55 +0000)]
Everything is built in ANSI C now.

17 years agoRenamed the language libraries and runtimes to have more
dtrg [Mon, 26 Feb 2007 22:36:56 +0000 (22:36 +0000)]
Renamed the language libraries and runtimes to have more
conventional names.

17 years agofixup commit for tag 'release-6-0-pre-1' release-6-0-pre-1
cvs2hg [Sun, 25 Feb 2007 22:49:23 +0000 (22:49 +0000)]
fixup commit for tag 'release-6-0-pre-1'

17 years agoRemoved a dynamically generated file from the distribution. release-6-0-pre-1
dtrg [Sun, 25 Feb 2007 22:49:22 +0000 (22:49 +0000)]
Removed a dynamically generated file from the distribution.

17 years agoAdded some OpenBSD-related comments.
dtrg [Sun, 25 Feb 2007 22:09:15 +0000 (22:09 +0000)]
Added some OpenBSD-related comments.

17 years agoApplied a patch to support OpenBSD.
dtrg [Sun, 25 Feb 2007 22:07:11 +0000 (22:07 +0000)]
Applied a patch to support OpenBSD.

17 years agoReplaced the call to posix.setenv() with the more portable
dtrg [Sun, 25 Feb 2007 20:59:21 +0000 (20:59 +0000)]
Replaced the call to posix.setenv() with the more portable
posix.putenv().

17 years agoRemoved some explicit (and wrong) redeclarations of system
dtrg [Sun, 25 Feb 2007 20:58:16 +0000 (20:58 +0000)]
Removed some explicit (and wrong) redeclarations of system
functions.

17 years agoPerformed major renovations to make the script work on OpenBSD.
dtrg [Sun, 25 Feb 2007 20:56:41 +0000 (20:56 +0000)]
Performed major renovations to make the script work on OpenBSD.

17 years agoem_table is now in /h; new_table is now in util/data.
dtrg [Sun, 25 Feb 2007 12:58:41 +0000 (12:58 +0000)]
em_table is now in /h; new_table is now in util/data.

17 years agoUpdated for the new release.
dtrg [Sun, 25 Feb 2007 12:53:55 +0000 (12:53 +0000)]
Updated for the new release.

17 years agoAdded the ability to install a built ACK, and did some general
dtrg [Sun, 25 Feb 2007 12:53:17 +0000 (12:53 +0000)]
Added the ability to install a built ACK, and did some general
tidying.

17 years agoAdjusted some of the default parameters and their names.
dtrg [Sun, 25 Feb 2007 12:52:32 +0000 (12:52 +0000)]
Adjusted some of the default parameters and their names.

17 years agoUpdated .distr files for the new release.
dtrg [Sun, 25 Feb 2007 12:51:55 +0000 (12:51 +0000)]
Updated .distr files for the new release.

17 years agoem_table is now in /h, not /etc.
dtrg [Sun, 25 Feb 2007 12:51:21 +0000 (12:51 +0000)]
em_table is now in /h, not /etc.

17 years agonew_table is now in /util/data, not /etc.
dtrg [Sun, 25 Feb 2007 12:49:04 +0000 (12:49 +0000)]
new_table is now in /util/data, not /etc.

17 years agoNow installs the man page.
dtrg [Sun, 25 Feb 2007 12:48:06 +0000 (12:48 +0000)]
Now installs the man page.

17 years agoRemove non-standard .SB tags.
dtrg [Sun, 25 Feb 2007 12:47:50 +0000 (12:47 +0000)]
Remove non-standard .SB tags.

17 years agoAdded shell magic.
dtrg [Sun, 25 Feb 2007 12:46:11 +0000 (12:46 +0000)]
Added shell magic.

17 years agoMoved to /h.
dtrg [Sun, 25 Feb 2007 12:45:24 +0000 (12:45 +0000)]
Moved to /h.

17 years agoMoved sys/timeb.h from include/_tail_mon.
dtrg [Sun, 25 Feb 2007 12:44:13 +0000 (12:44 +0000)]
Moved sys/timeb.h from include/_tail_mon.

17 years agoMoved from /etc.
dtrg [Sun, 25 Feb 2007 12:42:04 +0000 (12:42 +0000)]
Moved from /etc.

17 years agoUpdated to version 0.1.1 of Prime Mover.
dtrg [Sun, 25 Feb 2007 12:39:52 +0000 (12:39 +0000)]
Updated to version 0.1.1 of Prime Mover.

17 years agoAdded example programs.
dtrg [Sun, 25 Feb 2007 00:30:07 +0000 (00:30 +0000)]
Added example programs.

17 years agoRemoved some bashish; added comment support; removed the make
dtrg [Sat, 24 Feb 2007 02:05:56 +0000 (02:05 +0000)]
Removed some bashish; added comment support; removed the make
distr functionality, as nothing was using it any more and it was
causing problems.

17 years agoAdded pregenerated versions of the LLgen source files (to ease
dtrg [Sat, 24 Feb 2007 02:01:57 +0000 (02:01 +0000)]
Added pregenerated versions of the LLgen source files (to ease
bootstrapping issues).

17 years agoDone a major overhaul of the way target include files are installed and
dtrg [Tue, 20 Feb 2007 00:46:10 +0000 (00:46 +0000)]
Done a major overhaul of the way target include files are installed and
how platform libraries are built. The ARCH pm variable has now been
renamed PLATFORM (which is more accurate) and a different ARCH
variable added, which represents the CPU family rather than the
hardware platform.

17 years agoAdded a definition of endrom.
dtrg [Tue, 20 Feb 2007 00:42:23 +0000 (00:42 +0000)]
Added a definition of endrom.

17 years agoAdded some comments and a CVS header.
dtrg [Tue, 20 Feb 2007 00:41:26 +0000 (00:41 +0000)]
Added some comments and a CVS header.

17 years agoTweaked to allow _ as a leading character in identifier names (if
dtrg [Tue, 20 Feb 2007 00:40:00 +0000 (00:40 +0000)]
Tweaked to allow _ as a leading character in identifier names (if
use of underscores in identifiers has been turned on).

17 years agoAdded some missing #includes.
dtrg [Tue, 20 Feb 2007 00:38:49 +0000 (00:38 +0000)]
Added some missing #includes.

17 years agoNow uses fd 0 instead of trying to explicitly open /dev/tty.
dtrg [Tue, 20 Feb 2007 00:38:13 +0000 (00:38 +0000)]
Now uses fd 0 instead of trying to explicitly open /dev/tty.

17 years agoChanged to no longer include /usr/include by default.
dtrg [Tue, 20 Feb 2007 00:36:15 +0000 (00:36 +0000)]
Changed to no longer include /usr/include by default.

17 years agoFixed some reentrant comments.
dtrg [Tue, 20 Feb 2007 00:35:37 +0000 (00:35 +0000)]
Fixed some reentrant comments.

17 years agoChanged the 'preprocess' rule to use the system C preprocessor.
dtrg [Tue, 20 Feb 2007 00:32:58 +0000 (00:32 +0000)]
Changed the 'preprocess' rule to use the system C preprocessor.

17 years agoAdded some missing CVS headers and did a bit of cleaning up.
dtrg [Tue, 20 Feb 2007 00:31:54 +0000 (00:31 +0000)]
Added some missing CVS headers and did a bit of cleaning up.

17 years agoFixed a compilation error that was causing opt to not have its
dtrg [Tue, 20 Feb 2007 00:27:01 +0000 (00:27 +0000)]
Fixed a compilation error that was causing opt to not have its
peephole optimisation tables, which would make it generate
duff code.

17 years agoAdded 8086 PC bootable floppy support (pc86).
dtrg [Tue, 20 Feb 2007 00:25:12 +0000 (00:25 +0000)]
Added 8086 PC bootable floppy support (pc86).

17 years agoFixed a bug in the maximum segment calculation.
dtrg [Sat, 11 Nov 2006 23:00:55 +0000 (23:00 +0000)]
Fixed a bug in the maximum segment calculation.

17 years agoUpdated to work with the new version of pm.
dtrg [Sat, 11 Nov 2006 22:59:52 +0000 (22:59 +0000)]
Updated to work with the new version of pm.

17 years agoNow uses the version of LLgen included with the ACK instead of the standalone version.
dtrg [Sat, 11 Nov 2006 22:59:01 +0000 (22:59 +0000)]
Now uses the version of LLgen included with the ACK instead of the standalone version.

17 years agoAdded a pmfile to allow LLgen to be built as part of the ACK again.
dtrg [Sat, 11 Nov 2006 22:58:30 +0000 (22:58 +0000)]
Added a pmfile to allow LLgen to be built as part of the ACK again.

17 years agoAdded support for anm, asize, ashow, astrip and the new aslod tool.
dtrg [Mon, 16 Oct 2006 23:25:56 +0000 (23:25 +0000)]
Added support for anm, asize, ashow, astrip and the new aslod tool.

17 years agoAdded new aslod tool for making memory dumps.
dtrg [Mon, 16 Oct 2006 23:25:27 +0000 (23:25 +0000)]
Added new aslod tool for making memory dumps.

17 years agoSanitised the use of #include files to more properly conform to the standards.
dtrg [Mon, 16 Oct 2006 23:20:11 +0000 (23:20 +0000)]
Sanitised the use of #include files to more properly conform to the standards.

17 years agoUpdated to the version 0.1 of Prime Mover (which involves some syntax changes).
dtrg [Sun, 15 Oct 2006 00:28:12 +0000 (00:28 +0000)]
Updated to the version 0.1 of Prime Mover (which involves some syntax changes).

18 years agoack expects the tail_ libraries not to have the .a extension.
dtrg [Sun, 30 Jul 2006 23:45:48 +0000 (23:45 +0000)]
ack expects the tail_ libraries not to have the .a extension.

18 years agoModified to install aal's manpage.
dtrg [Sun, 30 Jul 2006 23:45:35 +0000 (23:45 +0000)]
Modified to install aal's manpage.

18 years agoAdded support for the ANSI C language runtime and preprocessor.
dtrg [Sun, 30 Jul 2006 23:45:18 +0000 (23:45 +0000)]
Added support for the ANSI C language runtime and preprocessor.

18 years agoAdded rules for building things with the ack itself.
dtrg [Sun, 30 Jul 2006 23:44:57 +0000 (23:44 +0000)]
Added rules for building things with the ack itself.