Commit Graph

344 Commits

Author SHA1 Message Date
carl
552737ab67 * several bugfixes by Nils Sjoholm 1998-07-09 17:39:40 +00:00
carl
a2cb040436 + working revision 1998-07-09 11:55:49 +00:00
carl
52b20dbba5 + implemented do_truncate 1998-07-09 11:54:57 +00:00
carl
17edd9acaf + windmax is correctly initialized 1998-07-09 11:53:42 +00:00
daniel
bcb942b1dc + Added moucalls and viocalls written by Tomas Hajny.
+ Final routines in doscalls implemented.
* Fixed bugs in dos.pas.
* Changed some old $ifdef FPK into $ifdef FPC.
- Removed go32 stuff from dos.pas.
- Removed '/' to '\' translation from system unit - EMX does this
automatically.
1998-07-08 14:44:08 +00:00
peter
f61c64bd1e * packed records 1998-07-08 12:33:26 +00:00
carl
a375e73795 + first version (not fully working yet) 1998-07-08 12:03:35 +00:00
carl
38e463fddc * make it compiler under fpc v0995 1998-07-08 12:02:19 +00:00
carl
4b8d030e14 * fixed problem with m68k asm syntax
* i386_att put back in, and only in cpu86 defined
1998-07-08 12:00:25 +00:00
carl
4f8884b466 * randon and Random(l) now work correctly - don't touch it works! 1998-07-08 11:56:55 +00:00
carl
df00344700 + reinstated hepasize function
* renamed HEAPSIZE global var to HEAP_SIZE to remove conflicts
1998-07-08 11:54:40 +00:00
michael
59456d7671 + Initial implementation, donated by Hans Lunsing 1998-07-08 07:40:16 +00:00
carl
72c44ae5a0 * make it compiler for win32 and m68k 1998-07-07 13:29:48 +00:00
carl
cd95f7a510 + First version 1998-07-07 12:38:46 +00:00
carl
fac56c6baf * correct mapping of error codes for TP compatibility
+ implemented stack checking in ifdef dummy
1998-07-07 12:37:28 +00:00
carl
0e28a46c7c * added 2k buffer for stack checking for correct io on error 1998-07-07 12:33:08 +00:00
carl
797f6c4b35 * 2k buffer for stack shecking to permimt correct io 1998-07-07 12:30:20 +00:00
carl
5dd7e8561a * now compiles under fpc v0.99.5, so don't modify!!!! 1998-07-07 12:26:42 +00:00
carl
0af81ffc6b * compiles under fpc v0995, don't modify now now! :) 1998-07-07 12:25:20 +00:00
michael
477a174399 Added length checking for string reading 1998-07-06 15:56:43 +00:00
carl
c76f66e7f1 * Standard handles are never closed on the Amiga. 1998-07-06 15:08:54 +00:00
michael
bb21590124 + Added Public,Alias directives for some calls 1998-07-06 14:29:08 +00:00
michael
236a77964f + Fixed bug with stream creation flags 1998-07-06 12:40:59 +00:00
carl
322d273f31 + first version for amiga of printer unit by Nils Sjoholm 1998-07-06 12:39:27 +00:00
carl
a5243e665e * Glurbl.... now work perfectly! Do not change :) 1998-07-06 12:26:19 +00:00
peter
e5557711dc * fixes for window (from "Heinz Ziegenhorn" <info@ziegenhorn.de>) 1998-07-04 11:17:18 +00:00
peter
34ade816f2 + ifdef has_property for 0.99.5 backward support 1998-07-04 10:04:41 +00:00
michael
eb9df35117 Undid carls changes, but renamed _heapsize to _internal_heapsize. Make cycle now works 1998-07-02 14:24:08 +00:00
michael
c33e3788cd Reinstated the heapsize function. 1998-07-02 14:11:30 +00:00
carl
004bb57ae9 * hmmm... it is luck (BSS zeroed with GAS) that DoError and ErrorBase work.
Now they are initilized instead.
1998-07-02 13:01:55 +00:00
carl
fbe85528a9 * Put back DoError, DO NOT TOUCH! 1998-07-02 12:55:04 +00:00
carl
a546945c4d * DOERROR RESOTRED! DON'T TOUCH :) 1998-07-02 12:53:09 +00:00
carl
6fa5eb2ba7 * IOCheck for mkdir,chdir and rmdir, just like in TP 1998-07-02 12:39:27 +00:00
carl
b77b3c9200 * IOCheck for chdir,rmdir and mkdir as in TP 1998-07-02 12:37:52 +00:00
carl
f5ea384880 * IOCheck/InOutRes check for mkdir, chdir and rmdir as in TP 1998-07-02 12:36:21 +00:00
carl
02a7a189cb * IOCheck/InOutRes check for mkdir,chdir and rmdir like in TP
+ do_isdevice implemented
1998-07-02 12:34:59 +00:00
carl
b8f38be993 * IOCheck/InOutRes check for mkdir,rmdir and chdir like in TP 1998-07-02 12:33:18 +00:00
carl
0b4c548a1d * IOCheck for rmdir,chdir and mkdir as in TP
NOTE: I'm pretty SURE this will not compile and link correctly with FPC
0.99.5
1998-07-02 12:29:20 +00:00
carl
94a728f166 * do_open was WRONG! Fixed!
* do_isdevice small fix with ATT parser
  * I386_ATT put back , otherwise would NOT link!
  * IoCheck for rmdir,chdir,mkdir
1998-07-02 12:26:55 +00:00
carl
db60658f7c * NOTHING would work, FileOpen is now correct!! 1998-07-02 12:25:27 +00:00
carl
9aeafd0cc0 - removed heapsize function, would cause conflicts with HEAPSIZE var
* GetHeapstart was misplaced
1998-07-02 12:22:38 +00:00
carl
7632ce3279 + Io-Error and overflow print erroraddr in hex now 1998-07-02 12:20:58 +00:00
carl
91a581342c + IO-Error and Overflow now print address in hex 1998-07-02 12:19:32 +00:00
carl
a60397c5d1 - removed function heapsize, CAUSED conflicts with HEAPSIZE var 1998-07-02 12:18:46 +00:00
carl
9d51088353 * IoCheck routines now check for InOutRes before executing, just like TP 1998-07-02 12:16:28 +00:00
carl
b7d9265b8f + Each IOCheck routine now checks for InOures before executing, like TP 1998-07-02 12:15:39 +00:00
carl
2f83875419 + Each IOCheck routine now check InOutRes before, just like TP 1998-07-02 12:14:56 +00:00
carl
a787487de6 * No SINGLE type for non-intel processors!! 1998-07-02 12:14:19 +00:00
carl
a364f24f24 - function heapsize MUST be removed, create conflicts with HEAPSIZE var 1998-07-02 12:13:49 +00:00
carl
e472678241 * No SINGLE type for m68k or other non-intel processors! 1998-07-02 12:13:18 +00:00
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