David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1fc20e90c0 
								
							 
						 
						
							
							
								
								Remove c99-isms.  
							
							
							
						 
						
							2018-06-23 23:56:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								64ae1d7583 
								
							 
						 
						
							
							
								
								Move time() into sys; change the name of the variable which controls it.  
							
							
							
						 
						
							2018-06-23 19:40:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								dbb2062d03 
								
							 
						 
						
							
							
								
								Made pc86 work with the new libc.  
							
							
							
						 
						
							2018-06-23 12:59:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								9bf1d548fc 
								
							 
						 
						
							
							
								
								Rearrange the libc config files, ready for adding new options.  
							
							
							
						 
						
							2018-06-22 23:43:15 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								60b7d8de6e 
								
							 
						 
						
							
							
								
								Merge pull request  #96  from kernigh/kernigh-emu-1  
							
							... 
							
							
							
							Fixes to build emulators, ass, int on OpenBSD 
							
						 
						
							2018-06-20 22:30:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								11854f4dfe 
								
							 
						 
						
							
							
								
								Ansify and warning fix.  
							
							
							
						 
						
							2018-06-17 22:30:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								5404dace3a 
								
							 
						 
						
							
							
								
								Stop using <X11/Xfuncproto.h> from x86emu.  
							
							... 
							
							
							
							The code included <X11/Xfuncproto.h> only for _X_ATTRIBUTE_PRINTF,
which tells some compilers to check the printf format string.  Remove
so ACK doesn't need any X11 headers.
Some machines don't have the X11 headers, or they need a flag like
-I/usr/X11R[67]/include to find them. 
							
						 
						
							2018-06-10 16:00:23 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								19cd42124f 
								
							 
						 
						
							
							
								
								Rearrange the tests into sets; allow plats to skip sets; pc86 and linux68k now  
							
							... 
							
							
							
							skip the tests which use floating point instructions (as their emulators don't
support them). 
							
						 
						
							2018-06-08 15:59:04 +09:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c6b9446722 
								
							 
						 
						
							
							
								
								Check in the x86emu-based emulator. Sadly, just like the 8086tiny-based  
							
							... 
							
							
							
							emulator, FPU instructions aren't supported. 
							
						 
						
							2018-06-04 16:19:45 +09:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								9132641100 
								
							 
						 
						
							
							
								
								Add the pc86emu skeleton.  
							
							
							
						 
						
							2018-06-03 08:24:21 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								eb96ea5d28 
								
							 
						 
						
							
							
								
								Add a clean copy of the x86emu library.  
							
							
							
						 
						
							2018-06-03 08:06:23 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								abbead482a 
								
							 
						 
						
							
							
								
								Sections are now aligned (required by the EM spec).  
							
							
							
						 
						
							2017-01-07 18:47:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								0e10329876 
								
							 
						 
						
							
							
								
								Fix an issue throughout where B couldn't be built by ackprogram due to symbol  
							
							... 
							
							
							
							laziness. 
							
						 
						
							2016-12-29 17:11:53 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								4485d89b23 
								
							 
						 
						
							
							
								
								Hook the B compiler up to the compiler driver.  
							
							
							
						 
						
							2016-11-27 20:48:07 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5bce5fc4da 
								
							 
						 
						
							
							
								
								Change the extension used by Basic files for .b to .bas, to avoid conflicts  
							
							... 
							
							
							
							with B. 
							
						 
						
							2016-11-27 20:38:33 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								8a58614aef 
								
							 
						 
						
							
							
								
								Rework the tests to run on pc86; lots of test fixes for the brk() test, which  
							
							... 
							
							
							
							was nearly useless; lots of fixes to qemuppc and pc86 sbrk(), which was broken;
change the pc86 console to echo output to the serial port (needed for running
tests on qemu). 
							
						 
						
							2016-11-26 11:23:25 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bfa8e501a3 
								
							 
						 
						
							
							
								
								Make pc86 echo console output to the serial port, so qemu can pipe it to  
							
							... 
							
							
							
							stdout. 
							
						 
						
							2016-11-25 20:28:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								36ab90385f 
								
							 
						 
						
							
							
								
								Change sbrk() to take an int rather than an intptr_t (following the OpenBSD way  
							
							... 
							
							
							
							rather than the Linux way; various non-C bits of the ACK assume it takes an
int, so it's cleaner). 
							
						 
						
							2016-11-23 22:06:24 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f67c98e239 
								
							 
						 
						
							
							
								
								Distributions are a pain --- let's not bother any more. Instead, we just tag  
							
							... 
							
							
							
							the repository and download a complete snapshot, old and ancient stuff and all. 
							
						 
						
							2016-09-02 23:00:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								612e38f1c6 
								
							 
						 
						
							
							
								
								Remove the old make-based build system, plus some big chunks of horribly  
							
							... 
							
							
							
							obsolete protomake build system. 
							
						 
						
							2016-09-02 22:17:51 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5bae29a00c 
								
							 
						 
						
							
							
								
								ego now builds and is used.  
							
							... 
							
							
							
							This needed lots of refactoring to ego --- not all platforms have ego descr
files, and ego will just crash if you invoke it without one. I think originally
it was never intended that these platforms would be used at -O2 or above.
Plats now only specify the ego descr file if they have one. 
							
						 
						
							2016-08-21 22:01:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								420c47c386 
								
							 
						 
						
							
							
								
								Fix dependency error (only shows up with make, not ninja. Odd).  
							
							
							
						 
						
							2016-08-15 00:46:43 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								3df4906d52 
								
							 
						 
						
							
							
								
								Turns out I wasn't building the syscall libraries. Do so.  
							
							
							
						 
						
							2016-08-14 11:23:57 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b549980af2 
								
							 
						 
						
							
							
								
								Wasn't exporting the plat headers; refactor to make this a little cleaner.  
							
							
							
						 
						
							2016-08-14 11:01:36 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								262c5fedcf 
								
							 
						 
						
							
							
								
								Biggish refactor to break cycles; my build rules were full of them. cpm builds,  
							
							... 
							
							
							
							which requires top and topgen. 
							
						 
						
							2016-08-14 01:39:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								3ce4e53aa9 
								
							 
						 
						
							
							
								
								Most of libc builds now (missing malloc).  
							
							
							
						 
						
							2016-08-08 23:55:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								0d77cb8279 
								
							 
						 
						
							
							
								
								We can build our first C file.  
							
							
							
						 
						
							2016-08-07 21:56:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b2bb4ce3b2 
								
							 
						 
						
							
							
								
								Builds libend (the simplest library). Becoming obvious I need to rework the way  
							
							... 
							
							
							
							ackbuilder deals with lists. 
							
						 
						
							2016-07-30 00:39:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								363d13cc2f 
								
							 
						 
						
							
							
								
								C preprocessor; tabgen; now the pc86 boot.s builds using the ack  
							
							... 
							
							
							
							toolchain. 
							
						 
						
							2016-07-29 00:22:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								a8a9d1bbfa 
								
							 
						 
						
							
							
								
								yacc, ncgg; platform ncg builds now.  
							
							
							
						 
						
							2016-07-26 23:35:30 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bff5c4019c 
								
							 
						 
						
							
							
								
								Baby steps towards building a platform --- make the assembler work.  
							
							... 
							
							
							
							Add ackbuilder support for C preprocessor files and yacc. 
							
						 
						
							2016-07-24 00:50:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								88bd7ce126 
								
							 
						 
						
							
							
								
								Remove defunct pmfiles.  
							
							... 
							
							
							
							--HG--
branch : default-branch 
							
						 
						
							2016-06-03 13:56:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								92817a6ad7 
								
							 
						 
						
							
							
								
								Allow platforms to specify size of long double; seperate alignment from size.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-21 19:18:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								11377070fd 
								
							 
						 
						
							
							
								
								Update distribution files.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-15 23:46:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								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!
--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk 
							
						 
						
							2013-05-13 23:26:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								442306d557 
								
							 
						 
						
							
							
								
								Split off some of the platform-independent stuff (such as as and ncg).  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : plat/pc86/build.mk => mach/i386/build.mk
rename : plat/pc86/build.mk => mach/i80/build.mk
rename : plat/pc86/build.mk => mach/i86/build.mk
rename : plat/pc86/build.mk => mach/m68020/build.mk
rename : plat/pc86/build.mk => mach/powerpc/build.mk 
							
						 
						
							2013-05-13 22:12:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b0c238eb5d 
								
							 
						 
						
							
							
								
								Made a start on building the runtimes for each platform and language; the  
							
							... 
							
							
							
							Linuxes all build.
--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk 
							
						 
						
							2013-05-12 23:51:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c1aca7dae5 
								
							 
						 
						
							
							
								
								First milestone of replacing the build system.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h 
							
						 
						
							2013-05-12 20:45:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								3dcc3bd1cf 
								
							 
						 
						
							
							
								
								Allow pc86 bootloader to boot from more floppy drives.  
							
							... 
							
							
							
							When the bootloader probes the drive geometry, the BIOS can clobber the
es register.  If this happens, the bootloader loads the program to the
wrong address, and jumps off the code.  This happens with an emulated
floppy drive in Bochs or QEMU, but not with an emulated hard disk. 
							
						 
						
							2012-09-23 14:43:22 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								78777e802b 
								
							 
						 
						
							
							
								
								Now using more conservative optimisation due to random seg fault issues.  
							
							
							
						 
						
							2007-04-29 23:02:23 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								eb4ea1e761 
								
							 
						 
						
							
							
								
								Use better optimisation options.  
							
							
							
						 
						
							2007-04-29 21:24:17 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								a7323e1a8b 
								
							 
						 
						
							
							
								
								Documented floating-point status.  
							
							
							
						 
						
							2007-04-28 22:34:47 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								24ea8aee3d 
								
							 
						 
						
							
							
								
								Updated for the 6.0pre2 release.  
							
							
							
						 
						
							2007-04-24 20:45:58 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								740940c9fc 
								
							 
						 
						
							
							
								
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								b8e1348f2a 
								
							 
						 
						
							
							
								
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								201c66879d 
								
							 
						 
						
							
							
								
								Updated to work with the new libmon-less setup.  
							
							
							
						 
						
							2007-04-21 22:59:42 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								d77b4ce97c 
								
							 
						 
						
							
							
								
								Renamed the language libraries and runtimes to have more  
							
							... 
							
							
							
							conventional names. 
							
						 
						
							2007-02-26 22:36:56 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								b611731ec3 
								
							 
						 
						
							
							
								
								Updated .distr files for the new release.  
							
							
							
						 
						
							2007-02-25 12:51:55 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								c40a44b52e 
								
							 
						 
						
							
							
								
								Added some missing CVS headers and did a bit of cleaning up.  
							
							
							
						 
						
							2007-02-20 00:31:54 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								df153ba299 
								
							 
						 
						
							
							
								
								Added 8086 PC bootable floppy support (pc86).  
							
							
							
						 
						
							2007-02-20 00:25:12 +00:00