David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								79a38ecc08
								
							
						 | 
						
							
							
								
								Instead of using parameterised rsts for stack access, add a huge swathe of
							
							
							
							
							
							
							
							automatically built helper tools. Star Trek goes up from 40243 to 40779 bytes,
but should be a lot faster. 
							
						 | 
						
							2019-02-13 22:45:22 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
								
								
							
							
							
								
							
							
								073451dd44
								
							
						 | 
						
							
							
								
								Merge pull request #154 from ccodere/buildfix
							
							
							
							
							
							
							
							Bugfix of compilation on gcc 4.8 
							
						 | 
						
							2019-02-12 21:51:46 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									carl
								
							 
						 | 
						
							
							
							
							
								
							
							
								664338aa49
								
							
						 | 
						
							
							
								
								Fix compilation issue on C90 compilers (gcc 4.8 was failing to compile with default flags) - updated following comment.
							
							
							
							
							
						 | 
						
							2019-02-13 00:17:45 +08:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									carl
								
							 
						 | 
						
							
							
							
							
								
							
							
								c63f527dde
								
							
						 | 
						
							
							
								
								Fix compilation issue on C90 compilers (gcc 4.8 was failing to compile with default flags).
							
							
							
							
							
						 | 
						
							2019-02-12 00:46:09 +08:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								34e9573929
								
							
						 | 
						
							
							
								
								Merge from default.
							
							
							
							
							
						 | 
						
							2019-02-10 23:40:07 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								666d9a3edb
								
							
						 | 
						
							
							
								
								Add stray header.
							
							
							
							
							
						 | 
						
							2019-02-10 12:57:00 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								aa6aefdaa0
								
							
						 | 
						
							
							
								
								Add missing header.
							
							
							
							
							
						 | 
						
							2019-02-10 00:45:09 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								810afbb5b9
								
							
						 | 
						
							
							
								
								Don't run the floating point tests on i80.
							
							
							
							
							
						 | 
						
							2019-02-09 14:24:31 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								bcc9c16bf7
								
							
						 | 
						
							
							
								
								More z80ex removal.
							
							
							
							
							
						 | 
						
							2019-02-09 13:42:09 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								343cdf7983
								
							
						 | 
						
							
							
								
								Remove stray z80ex reference.
							
							
							
							
							
						 | 
						
							2019-02-09 13:30:29 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								19f5ee3399
								
							
						 | 
						
							
							
								
								CP/M sbrk now handles overflow correctly.
							
							
							
							
							
						 | 
						
							2019-02-08 21:43:52 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								22032575c5
								
							
						 | 
						
							
							
								
								Add a 'disassemble' command to the CP/M emulator.
							
							
							
							
							
						 | 
						
							2019-02-08 20:54:44 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								b47d59aa4a
								
							
						 | 
						
							
							
								
								Merge from default.
							
							
							
							
							
						 | 
						
							2019-02-07 23:45:47 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								8876ddcad2
								
							
						 | 
						
							
							
								
								Build the CP/M tests (which got turned off accidentally). Add a disassembler to
							
							
							
							
							
							
							
							the emulator debugger. 
							
						 | 
						
							2019-02-07 23:36:45 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								7473601172
								
							
						 | 
						
							
							
								
								Add the cpm emulator from Cowgol, modified to work with an 8080 emulator rather
							
							
							
							
							
							
							
							than libz80ex; enable tests for cpm. 
							
						 | 
						
							2019-02-07 22:39:57 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								5ac280026e
								
							
						 | 
						
							
							
								
								Experimentally use rst 1 to optimise frame variable loads. Reduces Star Trek
							
							
							
							
							
							
							
							from 43892 to 43205 bytes. 
							
						 | 
						
							2019-02-07 00:06:32 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								365c89c9e7
								
							
						 | 
						
							
							
								
								Updated READMEs with the MIPS platform.
							
							
							
							
							
						 | 
						
							2018-09-18 23:49:31 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								9333b323a5
								
							
						 | 
						
							
							
								
								Make the MIPS boot code produce correct code.
							
							
							
							
							
						 | 
						
							2018-09-18 23:39:04 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								ec0891469f
								
							
						 | 
						
							
							
								
								Array descriptor ranges are inclusive; adjust aar and the tests to check for
							
							
							
							
							
							
							
							this. All the tests except rotate build now! 
							
						 | 
						
							2018-09-17 19:34:38 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								b81e060372
								
							
						 | 
						
							
							
								
								Add huge numbers of failing tests.
							
							
							
							
							
						 | 
						
							2018-09-10 23:40:03 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								776e93221f
								
							
						 | 
						
							
							
								
								Thinko fix.
							
							
							
							
							
						 | 
						
							2018-09-09 18:57:44 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								c769fbec93
								
							
						 | 
						
							
							
								
								Use the correct ELF processor flags; align properly.
							
							
							
							
							
						 | 
						
							2018-09-09 18:57:35 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								f3bc9ef92a
								
							
						 | 
						
							
							
								
								Call proper Linux system calls proper-like.
							
							
							
							
							
						 | 
						
							2018-09-09 18:57:12 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								ec46643124
								
							
						 | 
						
							
							
								
								Allow the ELF processor flags to be set. Generate MIPS ELF executables, not
							
							
							
							
							
							
							
							PowerPC ones. 
							
						 | 
						
							2018-09-09 14:29:34 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								26fe3f7530
								
							
						 | 
						
							
							
								
								Added library skeletons.
							
							
							
							
							
						 | 
						
							2018-09-05 00:07:07 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								98afb42095
								
							
						 | 
						
							
							
								
								Added a boot.o based on the PowerPC one.
							
							
							
							
							
						 | 
						
							2018-09-05 00:00:13 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								1d6ecddcf4
								
							
						 | 
						
							
							
								
								The MIPS backend is still full of holes, and cut-and-pasted PowerPC code, but
							
							
							
							
							
							
							
							is beginning to look like an actual code generator. 
							
						 | 
						
							2018-09-02 18:57:25 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								4741ed8e14
								
							
						 | 
						
							
							
								
								Add a completely non-tested table-based MIPS assembler.
							
							
							
							
							
						 | 
						
							2018-09-01 19:35:31 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								ab7002c0ee
								
							
						 | 
						
							
							
								
								All the Linux include directories are the same, so common them all out into a
							
							
							
							
							
							
							
							single one, like OSX. 
							
						 | 
						
							2018-06-24 19:57:43 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								f45b357740
								
							
						 | 
						
							
							
								
								Remove the dependency on the glibc-only byteswap.h.
							
							
							
							
							
						 | 
						
							2018-06-24 00:01:06 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									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
								
							 
						 | 
						
							
							
							
							
								
							
							
								538eefb573
								
							
						 | 
						
							
							
								
								Get em22 working. Remove the leading-underscore system calls from its libsys.
							
							
							
							
							
						 | 
						
							2018-06-23 15:57:57 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								74d166ef9a
								
							
						 | 
						
							
							
								
								Get the pdp7 plat working; remove the leading-underscore syscalls.
							
							
							
							
							
						 | 
						
							2018-06-23 15:18:26 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								3e40374297
								
							
						 | 
						
							
							
								
								Made the rpi platform work with the new libc layout.
							
							
							
							
							
						 | 
						
							2018-06-23 13:05:27 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								dbb2062d03
								
							
						 | 
						
							
							
								
								Made pc86 work with the new libc.
							
							
							
							
							
						 | 
						
							2018-06-23 12:59:40 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								680b4071b7
								
							
						 | 
						
							
							
								
								Made the two OSX platforms work with the new libc layout.
							
							
							
							
							
						 | 
						
							2018-06-23 12:55:59 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								b727b7affd
								
							
						 | 
						
							
							
								
								Make linuxppc work.
							
							
							
							
							
						 | 
						
							2018-06-23 12:41:54 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								b267b56ad9
								
							
						 | 
						
							
							
								
								Made linux68k work; commoned up all the generic linux includes.
							
							
							
							
							
						 | 
						
							2018-06-23 12:35:17 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								66815ff987
								
							
						 | 
						
							
							
								
								Make linux386 work with the new libc layout.
							
							
							
							
							
						 | 
						
							2018-06-23 12:13:33 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								32c881474e
								
							
						 | 
						
							
							
								
								Create a basic and probably wrong common unistd.h, which replaces the plat one.
							
							
							
							
							
							
							
							Made this work with cpm (but nothing else yet). 
							
						 | 
						
							2018-06-23 11:46:55 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								94ffa3ba88
								
							
						 | 
						
							
							
								
								libc floating point and stdio floating point can now be turned on and off using
							
							
							
							
							
							
							
							ACKCONF variables. 
							
						 | 
						
							2018-06-23 00:04:14 +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
								
							 
						 | 
						
							
							
							
							
								
							
							
								698613cd7d
								
							
						 | 
						
							
							
								
								Turns out that the compiler needs access to the libpc headers too; refactor
							
							
							
							
							
							
							
							into a separate target to avoid build loops and make it work. 
							
						 | 
						
							2018-06-18 22:17:38 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								11854f4dfe
								
							
						 | 
						
							
							
								
								Ansify and warning fix.
							
							
							
							
							
						 | 
						
							2018-06-17 22:30:27 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								13e195d19f
								
							
						 | 
						
							
							
								
								Warning fixes.
							
							
							
							
							
						 | 
						
							2018-06-17 15:42:26 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
								
								
							
							
							
								
							
							
								ddca7276c0
								
							
						 | 
						
							
							
								
								Merge pull request #102 from davidgiven/dtrg-powerpc
							
							
							
							
							
							
							
							Add a PowerPC simulator for running the tests. 
							
						 | 
						
							2018-06-17 11:45:26 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								89e8956bb2
								
							
						 | 
						
							
							
								
								Fix edge case in rlwnm when the mask is 32 bits wide. All tests now pass.
							
							
							
							
							
						 | 
						
							2018-06-17 11:00:01 +02:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								7ec9f54679
								
							
						 | 
						
							
							
								
								Turns out that andi and andis only have . forms. Fixed; another test passes.
							
							
							
							
							
						 | 
						
							2018-06-17 10:43:39 +02:00 | 
						
						
							
							
							
								
							
							
						 |