Changelog of the GCC for THEOS project


DateAuthor / Description
17.06.2001 thb@net-bembel.de
  • added wrapper for strdup(), strstr(), inet_ntoa()
  • fixed bcopy() to not cleanup stack from arguments
30.05.2001 thb@net-bembel.de
  • fixed setjmp/longjmp
27.05.2001 thb@net-bembel.de
  • removed references to the far and _far keywords in stdlib.h, stdio.h and process.h as far pointers are not supported by GCC
  • removed prototypes of _fmem* functions from memory.h for the same reason
  • removed references to the far and _far keywords in stdlib.h as far pointers are not supported by GCC
  • fixed bit fields in fdb.h, since GCC and THEOS C generate code differently
  • implemented setjmp/longjmp and adapted setjmp.h to the GCC requirements
  • wrote ntohl() and htonl()
15.05.2001 thb@net-bembel.de
  • added #pragma pack(push, x) and #pragma pack(pop) functionality
  • changed header dirent.h, vlb.h, scr.h, sys/stat.h, sys/timeb.h to use #pragma pack
07.05.2001 thb@net-bembel.de
  • added wrapper for _lctolower(), _lctoupper()
06.05.2001 thb@net-bembel.de
  • fixed header dirent.h to pack the structure correctly
  • fixed header vlb.h to pack the structure correctly
  • fixed header scr.h to pack the structure correctly
25.04.2001 thb@net-bembel.de
  • fixed header stat.h to pack the structure correctly
22.04.2001 thb@net-bembel.de
  • added wrapper for cgets()
  • fixed header scr.h
  • added library functions peekscr() and pokescr()
  • added possibility to create vararg wrapper to THEOWRAP
  • modified wrapper for open() to be of type vararg
  • added wrapper for asctime()
  • added definition of ENOTEXIST to errno.h
21.04.2001 thb@net-bembel.de
  • fixed code generation for TEST on memory operands
  • revised generation of string constants
  • added wrapper for find_first(), find_next(), strlwr()
  • fixed header diskfind.h
  • fixed printf() to save register ES
  • fixed generation of \n and \r, which is reversed in THEOS land
  • fixed prototype for fdopen
20.04.2001 thb@net-bembel.de
  • fixed prototypes of perror(), vprintf(), vsprintf(), vfprintf()
19.04.2001 thb@net-bembel.de
  • added wrapper for execv(), execvp(), fork(), spawnvp(), unlink()
  • fixed code generation for fixed 31 bit SAR
  • fixed code generation for NEG on memory operands
  • modified THEOWRAP to allow function name overrides not only for system calls
18.04.2001 thb@net-bembel.de
  • added getpid() routine and fixed entries in /usr/local/i386-theos/sys-include/time.h for it.
  • added wrapper for atoi(), itoa(), close(), connect(), creat(), ctime(), dup(), dup2(), exit(), getenv(), gethostbyname(), gethostbyaddr(), gethostname(), getuid(), getlogin(), getservbyname(), getservbyport(), htons(), gmtime(), localtime(), lseek(), memchr(), memmove(), ntohs(), putenv(), qsort(), read(), realloc(), recv(), send(), socket(), sleep(), strchr(), strcmp(), strerror(), strncmp(), strpbrk(), strrchr(), strtok(), strtol(), strtoul(), time(), tzset(), write(), strspn(), strcspn(), filechange(), getch(), getcwd()
  • fixed code generation for byte constants (just cosmetics on the indentation)
  • added /usr/local/i386-theos/sys-include/group.h
  • fixed code generation for move-zero-extended from 16bit to 32bit register
  • fixed prototype for qsort() in /usr/local/i386-theos/sys-include/stdlib.h and /usr/local/i386-theos/sys-include/search.h
  • convert cwtl into cwde assembly instruction and cbtw into cbw assembly instruction
17.04.2001 thb@net-bembel.de
  • added wrapper for stat() and fstat()
  • fixed double definition of clock_t, size_t and time_t in /usr/local/i386-theos/sys-include/time.h
  • made _ACCESS_MODE F_OK a #define in stdio.h, io.h and dfileio.h
  • removed auto-generated files from the GCC.CMP archive to speed-up download
  • fixed double definition of ON_EXIT in the runtime of the compiler
  • added header file /usr/local/i386-theos/sys-include/pwd.h
  • added definition of EIO to errno.h. This is the THEOS error 'TAPE I/O ERROR', but I did not find anything appropriate
  • fixed prototype of memset() in /usr/local/i386-theos/sys-include/memory.h
  • added wrapper for opendir(), readdir() and closedir()
  • added const to first argument of prototype of fwrite(), stat(), fprintf(), open(), creat(), rename(), access(), mkdir(), rmdir(), chdir(),
13.04.2001 thb@net-bembel.de
  • fixed definition of putc() and getc() in /usr/local/i386-theos/sys-include/stdio.h
  • convert CLTD into CDQ assembly instruction
  • fix shift operations on memory variable that need a size postfix in the assembly instruction
  • added wrapper for memcmp()
12.04.2001 thb@net-bembel.de
  • enable generation of size override on CMP instructions
  • added wrapper for memcpy()
  • fixed bcopy() to save registers
02.04.2001 thb@net-bembel.de
  • added generation of trailing zero for string constants
  • fixed sprintf() and fprintf() to save register ES
  • added wrapper for malloc(), calloc() and free()
  • added wrapper for memset()
  • __builtin_new() and __builtin_delete() save ES
  • recompiled THEOWRAP.BASIC