Commit Graph

344 Commits

Author SHA1 Message Date
carl
5434ee6d4c * no SINGLE in m68k and other processors! 1998-07-02 12:11:50 +00:00
peter
b5203c5b09 * fixed do_error in runtimeerror 1998-07-02 09:25:05 +00:00
carl
c2f855fbb7 * first working version of CRT unit 1998-07-01 15:52:21 +00:00
peter
5a638754f4 * better readln/writeln 1998-07-01 15:29:56 +00:00
carl
6d5e917e60 * bugfix of WRITE_TEXT_BOOLEAN , was not TP compatible
+ added explicit typecast in OpenText
1998-07-01 14:48:10 +00:00
carl
7e95e0140e - max_frame_dump reduced to 8, 20 is too much! 1998-07-01 14:43:46 +00:00
carl
f7f3dfabaf + new stack checking implemented
+ IOCheck for chdir , getdir , mkdir and rmdir
1998-07-01 14:40:20 +00:00
carl
c2e34ea424 * forgot that includes are case sensitive 1998-07-01 14:30:56 +00:00
carl
6484f2b2a9 * strpas bugfix 1998-07-01 14:29:42 +00:00
carl
a218bfc8ce * LONGDIV bugfixed with signed and modulo
* LONGDIV bugfix when divisor is less then 16 bits
1998-07-01 14:28:32 +00:00
carl
14272ace40 * set_set and set_in bugfix 1998-07-01 14:27:13 +00:00
carl
daf43ca204 * strconcat was copying one byte too much
* strcopy bugfix was using signed comparison
  + STRCOPY uses register calling conventions
  * FillChar bugfix was loading a word instead of a byte
1998-07-01 14:25:57 +00:00
carl
64f252ff8c + EXEC structures required for AmigaOS usage 1998-07-01 14:21:22 +00:00
carl
ec29df131a * do_open bugfix
* correct conversion of Amiga error codes to TP error codes
  * InoutRes word bugfix
  * parameter counting fixed
  * new stack checking implemented
  + IOCheck for chdir,rmdir,getdir and rmdir
  * do_filepos was wrong
  + chdir correctly implemented
  * getdir correctly implemented
1998-07-01 14:13:50 +00:00
carl
8b4ffa26ba * bugfix with parameter line, removed enter key when found in it 1998-07-01 14:09:12 +00:00
daniel
e664873b05 - Added. 1998-06-26 08:30:01 +00:00
daniel
2011738f52 - Removed 1998-06-26 08:29:54 +00:00
daniel
65b50cccf1 * Bugfix in disksize function. 1998-06-26 08:28:57 +00:00
daniel
8a84b20446 - Doerror removed. 1998-06-26 08:20:57 +00:00
pierre
3c0657acf2 + all debug in ifdef SYSTEMDEBUG
+ added local arrays :
    opennames names of opened files
    fileopen boolean array to know if still open
    usefull with gdb if you get problems about too
    many open files !!
1998-06-26 08:19:08 +00:00
peter
4ac8e5d18f + internal inc/dec 1998-06-25 14:04:17 +00:00
daniel
c43a386001 + RTLLITE directive to compile minimal RTL. 1998-06-25 09:44:19 +00:00
daniel
2abf9ca1b3 * Removed some more tabs 1998-06-25 09:26:10 +00:00
florian
811044754a * better rtti 1998-06-25 08:41:41 +00:00
daniel
336bf10c88 * Removed some tabs. 1998-06-24 11:53:26 +00:00
daniel
9fcc870caf * Small adaptions to use the ATT parser a little bit more. 1998-06-24 11:08:05 +00:00
peter
dbeb47f3bc * fixed the filesize() problems under linux and filerec.size=0 error 1998-06-23 16:57:16 +00:00
daniel
c27447d620 - Removed. 1998-06-23 08:45:17 +00:00
peter
c5c50fea41 * added #13 -> #10 translation for CrtRead to overcome readln probs 1998-06-19 16:51:50 +00:00
michael
509e45560b + Enter key maps again to #13 1998-06-19 14:47:52 +00:00
daniel
e0ab74277c * File move to tests directory. 1998-06-18 18:27:17 +00:00
daniel
76dc49b25a * Files moved to tests directory. 1998-06-18 18:26:22 +00:00
daniel
a012094cb6 - Removed. 1998-06-18 18:25:48 +00:00
daniel
bc343b28f5 - Removed 1998-06-18 18:23:14 +00:00
daniel
d0cb895c11 * Moved tests to their own directory. 1998-06-18 16:49:29 +00:00
daniel
56cd6619b1 * renamed 1998-06-18 16:46:52 +00:00
daniel
010d2a6bed - Removed 1998-06-18 16:45:46 +00:00
peter
972218d22f * some fixes with indexes
* bp7 compatible
1998-06-18 10:49:04 +00:00
michael
6ed3f994e1 + Fixed error when printing zero. len was calculated wron. 1998-06-18 08:15:33 +00:00
peter
6452fa5095 * uniform makefile 1998-06-17 14:00:37 +00:00
carl
0acb09468b * bugfix of set_in_byte, long must be used at start, same is true for
another routine
1998-06-17 13:59:08 +00:00
michael
553665456a + Small patch: forgot to make alias public 1998-06-17 11:50:43 +00:00
daniel
ef51eedac3 * Optimizations 1998-06-16 14:55:49 +00:00
michael
3710abda98 * PClose didn't flush textfiles before closing. Now it does 1998-06-16 08:21:58 +00:00
pierre
36e6db8f40 + complex.pp replaced by ucomplex.pp
complex operations working
1998-06-15 15:45:40 +00:00
daniel
b66d7560f1 * RTLLITE conditional added to produce smaller RTL. 1998-06-15 15:17:08 +00:00
daniel
c48b67d0b3 * RTLLITE conditional added to produce smaller RTL 1998-06-15 15:16:26 +00:00
daniel
a07500f360 * Brought my policy into practive that the RTL should output only runtime
errors and no other texts when things go wrong.
1998-06-15 15:15:13 +00:00
daniel
3a5a4d2509 * Updated to current compiler & rtl. 1998-06-15 15:13:47 +00:00
daniel
d98d32acc5 - Removed 1998-06-15 15:13:10 +00:00
daniel
accf5e4f60 - Removed 1998-06-15 15:12:05 +00:00
daniel
380402447a * Removed 1998-06-15 15:11:23 +00:00
michael
8068589c3c + Added aliases for Incr/Decr ref. 1998-06-12 07:39:13 +00:00
peter
fee3832edb * smal update 1998-06-10 11:01:56 +00:00
peter
b228460891 * small update 1998-06-10 10:58:05 +00:00
peter
cb3365a5ac * working w32 rtl 1998-06-10 10:39:11 +00:00
michael
504b4faf62 + Forgot to commit some changes 1998-06-10 07:46:45 +00:00
peter
56bc103c33 * dos interface is now 100% compatible
* fixed call PASCALMAIN which must be direct asm
1998-06-08 23:07:45 +00:00
michael
837c1582a3 Some changes to integrate in system unit 1998-06-08 19:35:02 +00:00
michael
b36e918420 + Implemented DecRef 1998-06-08 19:26:53 +00:00
michael
4b73216117 + Split rtti according to processor. Implemented optimized i386 code. 1998-06-08 15:32:08 +00:00
michael
05b01ddb00 Implemented rtti, inserted ansistrings again 1998-06-08 12:38:21 +00:00
carl
d39a13c0fd * temporarily disabled Kickstart version checking, because the offset
for getting the version is incorrect!
1998-06-05 12:34:45 +00:00
carl
5ad930412e * single_cmp, comparison was reversed! 1998-06-05 12:33:16 +00:00
carl
89fd9e9c5d * calculating sets is COMPLETELY different from the intel in
determining the bit number
  * new passing parameters conventions
  * misc bugfixes
1998-06-05 12:32:07 +00:00
carl
26d45eee6d * all string internal routines fixed and tested (to my knowledge)
* bugfix of missing typecast with a call to halt with a word
1998-06-05 12:28:58 +00:00
michael
53d0f3d9af + Initial implementation 1998-06-05 08:45:08 +00:00
peter
d0ce4085d3 * comp,extended are only i386 added support_comp,support_extended 1998-06-04 23:45:56 +00:00
pierre
c04eb73621 * boolean internal definition again (needed to compile
older RTL's)
1998-06-04 08:26:03 +00:00
peter
6f2206fbeb + boolean=bytebool 1998-06-03 23:39:53 +00:00
michael
4c58972779 + Added IO port calls 1998-06-03 11:55:33 +00:00
pierre
ad8d0efb52 * bug for boolean values greater than one fixed 1998-06-02 16:47:56 +00:00
peter
7edd9b8a1e * force att or direct assembling
* cleanup of some files
1998-05-31 14:18:12 +00:00
peter
3fe8cd8217 + released port[] and made them assembler procedures 1998-05-31 14:16:49 +00:00
peter
12f6e38140 * force to use ATT or direct parsing 1998-05-31 14:15:47 +00:00
peter
128212755c * removed warnings using comp() 1998-05-31 14:14:52 +00:00
peter
769d7ee21a * this needs also direct mode :( 1998-05-30 15:01:28 +00:00
peter
a9e0837f1e * force att reading 1998-05-30 14:30:21 +00:00
peter
1d389f6211 * ATT asmparsing always 1998-05-30 14:24:42 +00:00
peter
8ae673882c * fixed to remake with -Rintel in the ppc386.cfg 1998-05-30 14:18:42 +00:00
pierre
d1d7fcaba3 * Handles of input and output restored 1998-05-28 10:21:38 +00:00
peter
d307cedd31 * fixed crt input 1998-05-27 00:19:16 +00:00
carl
57dbf2308a * strcopy bugfix
* co bugfix with stack
1998-05-25 12:18:48 +00:00
carl
fd85bca7b3 * restored correct exit code 1998-05-25 12:15:04 +00:00
carl
e88d6f01cd * bugfix of all routines with pea 1998-05-25 12:13:51 +00:00
carl
73f8565363 * exit on stack fixed 1998-05-25 12:10:28 +00:00
carl
7188276bb7 * Handles now proprely setup
* Correct Exit code on init failure
   * Library pointer now ok (Thanks to Nils Sjoholm)
   * OpenStdError was never initialized
   * ;assembler; routines problems bugfixed
   * stackcheck routine fix
1998-05-25 12:08:49 +00:00
pierre
2719fa44c6 * CR0 works now (written using DB to allow to use it we INTEL and ATT output)
* floating_emulation bit set correctly
1998-05-25 10:51:27 +00:00
peter
53be2cf842 * remake3 works again on tflily 1998-05-25 10:40:48 +00:00
peter
eeb1721f9c * Platform.inc -> platform.inc 1998-05-25 09:50:04 +00:00
peter
1b68629d67 + I386_ATT switch 1998-05-23 01:14:06 +00:00
carl
d273864b0e - using objects.pp from inc directory instead now 1998-05-22 15:56:00 +00:00
carl
10d9285529 - fdeleting file 1998-05-22 15:54:11 +00:00
michael
761c27abbc + Fixed such that TDosStream functions correctly. 1998-05-22 15:41:12 +00:00
peter
d26106d745 * fixed the optimizes of daniel 1998-05-22 12:34:06 +00:00
peter
19a1443d6e - not necessary anymore 1998-05-22 11:53:31 +00:00
michael
4afe7023c2 + Fixed objinc such that it really compiles 1998-05-22 07:46:07 +00:00
peter
b0b403d498 * go32v1, go32v2 recompiles with the new objects
* remake3 works again with go32v2
  - removed some "optimizes" from daniel which were wrong
1998-05-22 00:39:22 +00:00
peter
eb39182b3b * objects compiles for linux
+ assign(pchar), assign(char), rename(pchar), rename(char)
  * fixed read_text_as_array
  + read_text_as_pchar which was not yet in the rtl
1998-05-21 19:30:46 +00:00
carl
4496a78375 + working version now ok 1998-05-21 15:37:19 +00:00
carl
1b3fd9e8cf + go32v2 include for objects unit 1998-05-21 12:15:10 +00:00
carl
0079d9b9d2 + go32v1 include for objects unit 1998-05-21 12:13:59 +00:00
carl
334cde9158 + linux include for objects unit 1998-05-21 12:13:00 +00:00
carl
1e8e4a0700 + platform information for objects unit 1998-05-21 12:11:54 +00:00
carl
499bcf3f16 + first revision, complete objects unit 1998-05-21 12:11:10 +00:00
carl
fae8860440 * works with all OS 1998-05-21 11:55:59 +00:00
cvs
ac974a7634 * test commit. Shouldn't be allowed. 1998-05-20 11:23:09 +00:00
peter
70f8a1ac12 * .FILL_OBJECT and FILL_OBJECT are not the same names ;) 1998-05-20 11:01:52 +00:00
daniel
a21b12c9e4 * Some bug fixes.
* ___SYSCALL changed to uppercase.
1998-05-20 08:11:25 +00:00
daniel
b7f23a6e8c * ___SYSCALL changed to uppercase. 1998-05-20 08:10:35 +00:00
daniel
3ffd393399 * Some extra use of ;assembler;. 1998-05-20 08:09:24 +00:00
peter
d12776a732 * moved cpne.pp to install/ 1998-05-12 10:55:23 +00:00
peter
e64becf81c * moved getopts to inc/, all supported OS's need argc,argv exported
+ strpas, strlen are now exported in the systemunit
  * removed logs
  * removed $ifdef ver_above
1998-05-12 10:42:41 +00:00
peter
2c92c249f2 * fixed the shell() bug (the correct code was also in Popen) moved the
argv generation to CreateShellArgv
  + Execve with pchar instead of string
1998-05-06 18:45:32 +00:00
michael
3e2e27d313 + Removed log from before restored version. 1998-05-06 12:35:26 +00:00
peter
69a42cc570 * a.out profile prt, not tested 1998-05-06 11:56:09 +00:00
peter
c2d12e9d96 * small update to support extended cfg/makefile.cfg and .def 1998-05-06 11:55:34 +00:00
peter
2b513b6c5b * update 1998-05-06 11:53:40 +00:00
michael
6bf591619c + Initial implementation 1998-05-06 09:47:50 +00:00
michael
037f88943f + Streamlined makefile. Uses -I option now, and makes use of global files. 1998-05-06 09:46:40 +00:00
michael
dbe0135764 Changed makefile system to use -I compiler option, and streamlined i a bit 1998-05-06 09:09:07 +00:00
peter
f1c07fc262 - no ppu files on the cvs 1998-05-04 20:19:21 +00:00
peter
482a6c19d2 * fix for smartlinking with _ARGS 1998-05-04 17:58:41 +00:00
peter
35283497e0 * findfirst did some strange init with searchpos 1998-05-04 17:40:43 +00:00
florian
b8d8fcccca + win95 flag to the interface moved 1998-05-04 16:21:54 +00:00
peter
f11a6ba390 * some cleanup and i386_att usage 1998-04-29 13:28:19 +00:00
florian
7a9c205693 + do_open implemented, the file-I/O should be now complete 1998-04-27 18:29:09 +00:00
florian
ce715462bf + constants for CreateFile added 1998-04-27 18:25:36 +00:00
florian
79d67dd7b1 * was uncompilable 1998-04-27 14:01:38 +00:00
florian
921d694e24 + paramstr/paramcount implemented 1998-04-27 13:58:21 +00:00
florian
168cd84d1e * some small extensions 1998-04-26 22:37:22 +00:00
florian
45de55a736 + getftime, unpacktime, packtime 1998-04-26 22:37:02 +00:00
florian
c5d1d68525 + more stuff added (??dir procedures etc.) 1998-04-26 21:49:57 +00:00
florian
065d948961 + first compiling and working version 1998-04-26 21:49:09 +00:00
pierre
d92f56843e * had to rename property from p to pp to
avoid duplicate identifier error in
    implementation of readport and writeport
    that have p as argument
1998-04-24 08:26:50 +00:00
michael
fb8f2c0340 Updated version numbers 1998-04-23 13:25:00 +00:00
pierre
04f1d1e292 + debug info better output
no normal code changed
1998-04-21 14:46:33 +00:00
peter
e4328d08e2 + heapblocks 1998-04-21 10:22:48 +00:00
peter
4594d7ae04 + inc(pchar), dec(pchar), incc(pchar,a),dec(pchar,a) 1998-04-16 12:30:47 +00:00
michael
7626011f1f * fixed bug. Clrscr and Clreol didn't take change in textattr in account. 1998-04-16 07:49:11 +00:00
michael
1d86a2d73e + Initial implementation of graph unit 1998-04-15 13:40:11 +00:00
michael
2856256cb3 + Added some calls to make common API more efficient 1998-04-15 11:23:53 +00:00
florian
f966d959ee + support of port-array added 1998-04-12 22:35:29 +00:00
florian
0e34e8a6ce + some small comments added 1998-04-10 15:41:54 +00:00
michael
c297ae8bfa - Removed so-called better random function 1998-04-10 15:25:23 +00:00
michael
2132851581 * Unitinstallpath now under /usr/lib/fpc 1998-04-10 15:24:16 +00:00
michael
0b4932253f + Pclose now returns exit status of process 1998-04-10 15:23:03 +00:00
michael
4d271efb76 + added explanations of include files. 1998-04-10 15:21:45 +00:00
michael
f310cf5ad9 Added a lot of functions donated by GertJan Schouten 1998-04-10 15:18:21 +00:00
michael
80e4fa2639 + Initial implementation; Donated by Gertjan Schouten
His file was split into several files, to keep it a little bit structured.
1998-04-10 15:17:46 +00:00
daniel
3a2a212930 * Optimized some code. 1998-04-09 08:32:14 +00:00
daniel
12fb25a920 * Brings OS/2 directory up to date. 1998-04-09 08:24:11 +00:00
michael
62001bab9a + Changed Random() function. Moved from system to processor dependent files (from Pedro Gimeno) 1998-04-08 07:53:31 +00:00
florian
e18075dc19 * final fix of comp writing 1998-04-07 22:40:46 +00:00
michael
0fb05fec2a + Added flock for file locking 1998-04-07 13:08:29 +00:00
peter
12de31dbe5 * fixed fexpand('..') 1998-04-07 12:27:41 +00:00
peter
d4b538a297 - fixed mouse to compile with $i386_att
+ linux crt supports redirecting (not Esc-codes anymore)
1998-04-05 13:56:54 +00:00
michael
ef5442777f + Fixed AssignStream, it completely refused to work 1998-04-04 17:07:17 +00:00
michael
055750c235 * fixed initialization bug in assign. 1998-04-04 17:06:17 +00:00
daniel
274d8885d3 * Replaced 'mod 8' with 'and 7'. Generates more efficient code. 1998-03-31 19:01:41 +00:00
florian
8ac67941b8 * exit message removed 1998-03-31 10:18:55 +00:00
pierre
598c13fdb5 * target dos to target go32v1 for cfg file 1998-03-31 09:49:20 +00:00
pierre
c03205a259 * long command line problem solved 1998-03-31 09:48:38 +00:00
pierre
45b84c9eb0 * command line length problem solved 1998-03-31 09:42:52 +00:00
pierre
a56d50dfa0 * make under go32v2 does
not accept too long command line args
1998-03-31 09:41:59 +00:00
michael
0fdd9b4bd8 + Upgraded version number to 0.99.5 1998-03-31 08:11:07 +00:00
florian
5df76b0720 + seg* added 1998-03-30 21:49:12 +00:00
florian
c681f66590 * small improvements 1998-03-29 17:26:20 +00:00
peter
4a47440c82 * moved gprt1.as to i386/
* makefile updated to support i386/ and m68k/
1998-03-28 23:52:48 +00:00
michael
5351e41f86 + Moved to i386 dir 1998-03-28 09:48:26 +00:00
michael
a8cfe52ddf + Initial implementation 1998-03-28 09:47:18 +00:00
carl
b170680325 * bugfix of STRCONCAT alignment problem 1998-03-27 23:48:06 +00:00
carl
1988f09fb0 * bugfix of FLAGS as return values for SET_IN_BYTE and SET_SET_BYTE 1998-03-27 23:47:35 +00:00
peter
ff6ca07f9f * new makefile layout, much more structure and more uniformity 1998-03-27 00:53:12 +00:00
peter
cbbfd69395 * small fixes so it compiles 1998-03-27 00:50:22 +00:00
Jonas Maebe
cb3964071a * changed rtldos to rtlgo32v1 1998-03-26 22:12:48 +00:00
michael
f6b5cc3358 + Added comp support for val and read(ln) 1998-03-26 14:41:22 +00:00
michael
5f20356336 + redid objpas target 1998-03-26 13:02:32 +00:00
peter
04b1744f42 * objpas addepted 1998-03-26 13:01:21 +00:00
peter
d52b97ee5e * fixed some typos 1998-03-26 12:59:58 +00:00
peter
9217b0ec3b - objpas.inc 1998-03-26 12:53:38 +00:00
peter
183d8c1cfa * integrated both mouse units 1998-03-26 12:25:22 +00:00
peter
9e1a4d21f6 - timer.pp is more accurated 1998-03-26 12:24:16 +00:00
peter
277b44c517 * envrion is now the same for go32v1 and go32v2 1998-03-26 12:23:49 +00:00
peter
aaa3da644b * emu387 doesn't uses dos anymore (getenv copied local)
* makefile compilation order changed
1998-03-26 12:23:17 +00:00
peter
15d85c7e3b * makefile works again
* environ is now defined in system.pp (like go32v2)
1998-03-26 12:21:02 +00:00
florian
ba18c26dda * some warnings fixed 1998-03-26 10:41:15 +00:00
michael
4e9811301e * make clean removed EVERYTHING 1998-03-26 09:35:01 +00:00
michael
41d3f01eb6 * make clean removed EVERYTHING 1998-03-26 09:33:58 +00:00
michael
795da2dce9 - removed trailing CR from lines 1998-03-26 09:31:25 +00:00
florian
5d0c0d30c6 + stuff from old objpash.inc and objpas.inc merged in 1998-03-25 23:40:24 +00:00
florian
4a9ba91007 * complete Object Pascal support moved to objpas unit 1998-03-25 23:39:17 +00:00
Jonas Maebe
a9bbf1d4db * changed most references from DOS to GO32V1, go32v1 rtl can be compiled again with the makefile 1998-03-25 15:59:03 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00