02870802f0Back out erroneous change.
master
David Given
2012-12-14 11:56:21 +00:00
c8ebe9995aPrevent segfault when trying to print an error message.
George Koehler
2012-10-24 13:44:50 -04:00
d17d9e31a7Change 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
456d52f59fChange 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
c40034452eMerge deletion of many undead files.
George Koehler
2012-09-23 15:31:16 -04:00
f1cdb32025Allow pc86 bootloader to boot from more floppy drives.
George Koehler
2012-09-23 14:43:22 -04:00
2dbbacfad9Prevent division by zero in aslod.
George Koehler
2012-09-21 22:51:12 -04:00
e87791b38aDelete 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
c56e850ecaDelete old and unused files from modules/src/em_code
George Koehler
2012-09-17 16:04:55 -04:00
eff81b4687Fix fit16i() for systems with 64-bit long.
George Koehler
2012-09-16 19:57:07 -04:00
0f8745dc8dFix more functions in util/ack for 64-bit hosts.
George Koehler
2012-09-07 16:28:10 -04:00
ab55ecefeeFix cemcom.ansi for 64-bit hosts.
George Koehler
2012-09-07 15:53:13 -04:00
f07a93357cFix 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
b9c194b210Added atol() that ignores overflow, so that unsigned long constants are dealt with properly
Ceriel Jacobs
2011-06-15 11:13:48 +02:00
16e42da0edReplaced dis and new with modern implementations donated by erik@backerud.se.
dtrg
2010-10-02 21:52:29 +00:00
4bc87420d1Call the correct kill() and getpid() syscalls rather than _kill() and _getpid().
dtrg
2010-10-02 21:51:40 +00:00
72bc0db96aNow call creat() and open() instead of _creat() and _open().
dtrg
2010-09-27 20:47:32 +00:00
4b494f90e2Added support for remove() and unlink().
dtrg
2010-09-27 20:44:49 +00:00
072e795aa3Fixed 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
d0ac75ea66Fixed definitions of O_* flags.
dtrg
2010-08-20 19:27:09 +00:00
8efccf82c7Remove references to using-machine-name-for-compiler, as we don't do that any more.
dtrg
2010-08-09 22:47:33 +00:00
5e831ec966Changed 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
3310ddcdacFlush stdout before prompting the user for input.
dtrg
2010-08-06 17:02:16 +00:00
dc9c6c8ca2Flush output stream before waiting for user input.
dtrg
2010-08-05 22:23:34 +00:00
ec96baa6dcfixup commit for tag 'release-6-0-pre-4'
cvs2hg
2010-08-04 18:04:08 +00:00
9f641ff005Forgot to update version number.
dtrg
2010-08-04 18:04:07 +00:00
742a6046e7Updated for 6.0pre4.
dtrg
2010-08-04 18:01:12 +00:00
debf852e0dfixup commit for tag 'release-6-0-pre-3'
cvs2hg
2007-04-29 23:09:25 +00:00
e9e9c8ac50Configured distr system for the 6.0pre3 release.
dtrg
2007-04-29 23:09:24 +00:00
a45f7db24aCleaned up a bit and made work with the new platform architecture.
dtrg
2007-04-29 23:03:24 +00:00
4c74889bc1Now using more conservative optimisation due to random seg fault issues.
dtrg
2007-04-29 23:02:23 +00:00
1820152008Added 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
c90ee3021bFixed the ego parameters to actually allow extended optimisation.
dtrg
2007-04-29 21:25:09 +00:00
a1c93cbbe6Now 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
f4e3111f50Fixed the trap code to write out the error message correctly.
dtrg
2007-04-29 20:47:48 +00:00
ac72c550baDisabled 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
7e624e2f1dAdded suppot for BSS clearing and command line parsing.
dtrg
2007-04-29 00:28:06 +00:00
15a318b4b1Stripped 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
de5dfda220Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling.
dtrg
2007-04-24 19:34:34 +00:00
4839ce3ec6Updated use of headers to compile cleanly.
dtrg
2007-04-24 19:33:53 +00:00
5621f951a2Ensured 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
116a3f49c9Added 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
2b16e9f8dcModified to run ncgg input files through the ANSI preprocessor rather than the K&R one.
dtrg
2007-04-23 23:40:59 +00:00
87ad9a6852Added 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
f2cfcba52eModified to allow a space between the sign and the first digit of a constant.
dtrg
2007-04-23 23:24:46 +00:00
9731e1e349Now fetches argc, argv, env correctly from the host OS.
dtrg
2007-04-23 23:24:03 +00:00
db4d300c33Added the 'Star Trek' example game.
dtrg
2007-04-21 23:20:11 +00:00
d48c81664fAdapted 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
f33fd63590Adapted for ANSI C and our pseudo-Posix syscall interface.
dtrg
2007-04-21 23:18:14 +00:00
078faadbf9Fixed 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
f5d41474daDisabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway.
dtrg
2007-04-21 23:07:57 +00:00
0e349f88a6Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls.
dtrg
2007-04-21 23:07:05 +00:00
43857acb0bDisabled the K&R C compiler in favour of the ANSI one.
dtrg
2007-04-21 23:03:35 +00:00