Commit Graph

1884 Commits

Author SHA1 Message Date
peter
d17b7d610e * patch for getdir from Pierre 2000-03-25 12:28:37 +00:00
florian
cca24e5632 * accelerated output of bitmap fonts 2000-03-24 18:18:15 +00:00
florian
fe462795f6 * introduce a DrawBitmapCharHoriz procedure variable to accelerate output on
win32
2000-03-24 18:16:32 +00:00
florian
8a700b7568 * ClearViewPort fixed 2000-03-24 13:01:15 +00:00
florian
0575fbbec7 * the window is now cleared by wm_create
* default mode is again 640x480x16
2000-03-24 12:57:41 +00:00
pierre
d3efe7df4d * a working makefile 2000-03-24 12:18:12 +00:00
florian
03869981ef * the mode detection takes now care of window caption and border
+ 1024x768 and 1280x1024 modes added
  + special gui modes added: largest window and maximized window to
    use the desktop as much as possible
  * Hline fixed: the windows function LineTo doesn't draw the last pixel!
2000-03-24 10:49:17 +00:00
Jonas Maebe
17c623dc25 * changed a lot of "if fm.mode = fmClosed then" to case statements,
because if f is not yet initialized, the mode is invalid and can
    contain another value even though the file is closed
  + check if a file is open in writeln_end (caused crash if used on
    not opened files)
2000-03-24 10:26:18 +00:00
pierre
799ed3311f * fix for OS/2 hopefully 2000-03-23 22:00:08 +00:00
Jonas Maebe
c76929619a * fixes for port reading 2000-03-23 17:10:32 +00:00
peter
42a00b7705 * remove handle check for do_close 2000-03-23 15:24:18 +00:00
michael
853e75626b + removed handle checkin fileclose 2000-03-22 20:00:54 +00:00
pierre
299ec9d3dc + allow double backslash for network drives 2000-03-22 08:00:42 +00:00
marco
e99f82c8fa * fixed ostype problem 2000-03-21 13:26:58 +00:00
marco
b122dd9ff9 * Fixed os_types stuff 2000-03-21 13:24:31 +00:00
Jonas Maebe
7e63fc9d28 * fixed more bugs due to inexact nature of FPU 2000-03-21 12:00:30 +00:00
alex
a9745c53b6 + added overlaoded PeekMessage fundtion for delphi compatibility 2000-03-20 23:44:43 +00:00
pierre
7c29d75493 * LFN support in streams 2000-03-20 19:19:44 +00:00
alex
043d981e00 * added os_types unit 2000-03-20 18:39:13 +00:00
alex
85135c503d * extended to make use of OS_TYPES unit. 2000-03-20 16:14:37 +00:00
alex
cb860d32dc added central unit for OS dependent types. 2000-03-20 15:50:13 +00:00
pierre
4a66eb02e5 * fix for bug #876 2000-03-20 13:09:07 +00:00
pierre
1475038147 + WINT = longint to avoid errors 2000-03-20 11:42:46 +00:00
marco
4b4b9a7ba7 * Some more delphi compatible kernelfunc headers for JCL. 2000-03-19 20:30:27 +00:00
marco
ebe9dafe19 * some stuff for JCL 2000-03-19 20:29:06 +00:00
peter
dceffc9557 * dosexitcode finally works correct 2000-03-19 18:48:19 +00:00
Tomas Hajny
a61493db4c + added support for EMX 2000-03-19 18:10:41 +00:00
peter
2d6a92f17e * graph unit include is now independent and the dependent part
is now in graph.pp
  * ggigraph unit for linux added
2000-03-19 11:20:12 +00:00
peter
2a4b2adc65 * strdispose uses freemem(pointer) and resets pointer to nil 2000-03-19 08:40:14 +00:00
peter
9920510f64 * length check for readnumeric 2000-03-19 08:36:41 +00:00
Jonas Maebe
f62ff5df66 * strdispose now uses dispose instead of freemem(strlen()+1) 2000-03-18 15:43:05 +00:00
sg
41086a7aaa * Fixed ClearViewport for 4 bpp modes 2000-03-18 10:46:16 +00:00
sg
65506db2eb * Fix for ClearViewportDefault: The width and the height of the rectangle
it filled has been one pixel too high.
2000-03-18 10:45:07 +00:00
florian
cf42fe5f4f * window class is registered only once => multible init/closegraphs are possible
* calling cleardevice when creating the window
2000-03-17 22:53:20 +00:00
Jonas Maebe
49b6de7c9e * fixed declaration of val_int64 (removed destsize parameter)
* fixed val_int64 and val_qword so they reject invalid input
    (u >= base)
  * when reading a number, invalid input is removed from the input
    buffer (+ it should be faster as well)
2000-03-17 21:27:56 +00:00
Jonas Maebe
df004d997b * fixed rounding bugs with certain formatting parameters in str_real
* fixed tbs0218 so it compares both results only until max precision
2000-03-17 20:20:33 +00:00
sg
a662bff34d * Added accelerated drawing functions for modes with 4 bits per pixel 2000-03-17 13:30:35 +00:00
sg
1ce21b9e8e * Use linux unit under Linux 2000-03-17 13:28:54 +00:00
sg
28a36c68a4 * Added WritePort[B|W|L] for single data access
* Added ReadPort[B|W|L] functions
2000-03-17 13:27:00 +00:00
marco
92eee6e7f2 * some changes to ftruncate based procs. Added a "0" as extra parameter 2000-03-17 12:58:57 +00:00
michael
27b0900075 + Added more system exception handling afte T. Schatzl remark 2000-03-16 20:42:26 +00:00
marco
62d2002d1f * First version that did something (others not committed) 2000-03-16 16:34:02 +00:00
marco
0192ac7d51 * changes to get ppc386 -h working 2000-03-16 16:21:10 +00:00
marco
968c1563a5 * fixes that made ppc386 -h working 2000-03-16 16:19:28 +00:00
marco
d6c9ca025c * Last changes before next test. ppc386 -h works with these srcs. 2000-03-16 16:18:12 +00:00
marco
beb21a0ba5 * Put one BSD incompability under an ifndef BSD 2000-03-16 15:24:37 +00:00
marco
ebfdbf73d8 * put one BSD incompability under a ifndef bsd 2000-03-16 15:23:35 +00:00
marco
ca7f81187e * Added one BSD conditional (uname not supported) 2000-03-16 15:23:02 +00:00
michael
54f9bbd99b + Added constants and types for Delphi compatibility 2000-03-14 10:20:18 +00:00
pierre
dafcbea824 + HandleErrorAddrFrame 2000-03-14 07:31:57 +00:00
peter
11d7a573df * concat free blocks in main freelist 2000-03-13 21:22:28 +00:00
pierre
5b52f307e6 + exceptions in system is default now 2000-03-13 19:45:20 +00:00
pierre
47a02cf8d3 + UseLFB and UseNoSelector vars to force LinearFrameBuffer use
with or without specific selector.
2000-03-12 22:32:22 +00:00
Tomas Hajny
c71f5233b1 * missing parentheses added 2000-03-12 18:32:17 +00:00
pierre
4bbbb33cf1 * small fixes 2000-03-10 13:45:31 +00:00
pierre
6d213ac89b * avoid problems if sbrk returns negative values 2000-03-10 12:41:21 +00:00
pierre
bba120a2fd * some clean up for exceptions in system 2000-03-10 09:53:17 +00:00
pierre
d68fb9a6a2 + EXCEPTIONS_IN_SYSTEM 2000-03-10 09:51:07 +00:00
pierre
1892f7443a * ExitDLL fixed : uses now SetJmp LongJmp
* System_exit unloads the exception hanlder before leaving
2000-03-10 09:21:11 +00:00
pierre
c653648412 * fixes for LFB mode 2000-03-09 22:32:22 +00:00
pierre
5430f96660 * Allocate_ltd_desciptors on LFB modes
+ ForceVesa var to force use of LFB modes
2000-03-09 21:52:05 +00:00
pierre
991b0d8b09 + support for djgpp v2.03 (added some new functions that are in v2.03 ofdpmiexcp.c)
+ code to integrate exception support inside the system unit
2000-03-09 09:15:10 +00:00
Jonas Maebe
4cb3f54367 * writemode was not set to normalput during clearviewport (and it uses hline) 2000-03-08 14:20:14 +00:00
pierre
6d918ef306 * fix for the problem of backslashes at and of directory
+ some code for exception support (far from working :()
  + debug variable accept_sbrk
2000-03-07 11:05:58 +00:00
daniel
c711189ead + Added is_object method to Tobject. It is similar to the is operator. 2000-03-06 20:15:32 +00:00
Tomas Hajny
4416ae8022 * DiskFree, DiskSize - int64 result, fix for osDPMI mode 2000-03-05 19:00:37 +00:00
florian
682807bc00 + some new functions
* double click messages are handled like single clicks because this
    is the behavior as old DOS applications expect
2000-03-05 13:08:52 +00:00
florian
054ddd8cb3 + some more functions added, also some dummies 2000-03-05 13:07:58 +00:00
florian
385b19dbc7 * the title can be user defined 2000-03-05 13:06:32 +00:00
Jonas Maebe
02ec1d0d3b * fixed rounding problem when writing out single/double type vars 2000-03-05 09:41:05 +00:00
marco
002f25445d * added a syscall for 5 longints 2000-03-02 15:34:07 +00:00
marco
21bc632648 * fixed some types and errors that needed longint(@ typecasting. 2000-03-02 15:33:20 +00:00
Jonas Maebe
c535d675f5 * sign was not written in some cases 2000-03-02 07:35:57 +00:00
marco
68eeea1a01 * Initial version. Compiles (syscall.inc inclusion prob has to be solved 2000-03-01 20:23:07 +00:00
marco
4133129ea6 * some small fixes. 2000-03-01 20:04:38 +00:00
marco
278a828480 * small fixes for syslinux 2000-03-01 20:03:57 +00:00
marco
7a3c2d2dc7 * some changes due to updating linux.pp to new syscall 2000-03-01 17:28:40 +00:00
marco
a9a1a9db92 * Fixed first half of linux unit to portable syscall struct. 2000-03-01 17:27:46 +00:00
pierre
19f9321be5 * typo correction from bug #864 2000-03-01 11:18:39 +00:00
pierre
1ce3442161 * remove Jonas unnecessary (but correct) code 2000-02-28 11:17:48 +00:00
pierre
63aea60fdb * system_exit instead of halt 2000-02-28 09:42:16 +00:00
marco
a8e778f685 * Redone the syscalls 2000-02-27 23:45:39 +00:00
peter
66ea55dd7c * removed warnings/notes 2000-02-27 14:40:40 +00:00
pierre
3a5a62b567 * Enormous bug in mouse fix fixed 2000-02-27 11:21:17 +00:00
Jonas Maebe
51bbb51a06 * fix for lost precision because sometimes the correction value was
larger than the number to be corrected
  * incompatibility with TP's output fixed
2000-02-26 18:53:11 +00:00
Jonas Maebe
0b02714817 + new str_real which is completely TP compatible regarding output
format and which should have no rounding errors anymore
2000-02-26 15:49:40 +00:00
florian
d46c1c823c * writing at coloumn <screenwidth> wasn't possible in some cases,
fixed
2000-02-26 14:57:17 +00:00
peter
5bba83f3e4 * fixed fexpand with empty argument to return current dir 2000-02-26 13:24:26 +00:00
peter
72077676d3 + readded getepochtime which simply calls gettimeofday 2000-02-23 17:19:06 +00:00
alex
ec5ee74a21 fixed structure sizes for any slang on 32 bit platform,
fiexed buggy conversions from c-short to pascal-integer,
needs some more work to be Win64 compliant,
szDescription/szSystemStatus is a zero terminated string with extra zero.
2000-02-23 16:48:10 +00:00
Jonas Maebe
79aa1752e9 * fixed WSADATA record structure bug 2000-02-23 15:00:55 +00:00
Jonas Maebe
f106b3b5fd * restored my fix (CVS screwed up the previous versinos because of wrong line
breaks)
2000-02-23 12:46:11 +00:00
Jonas Maebe
d69db753e8 * fixed wrong line breaks 2000-02-23 07:12:41 +00:00
Jonas Maebe
291549390b * fixed crash to to wrong code for disabling/enabling interrupts 2000-02-22 14:26:28 +00:00
florian
c56118ccba * dub id fixed 2000-02-20 20:34:02 +00:00
florian
95d572ca04 * we don't need to to finit twice ... 2000-02-18 16:16:13 +00:00
florian
ff96d13e5f * fixed constants in rtti
* longjmp does now a finit
2000-02-18 15:23:01 +00:00
sg
723d944396 * Changed the second argument of FileWrite from "var buffer" to
"const buffer", like in Delphi.
2000-02-17 22:16:05 +00:00
pierre
585796400f * Mouse crash bug fixed !!! 2000-02-16 13:24:55 +00:00
florian
2eb62408ae * disabled FIXED data type per default 2000-02-15 14:36:57 +00:00
Jonas Maebe
ba7b10c01d + new, faster fillpoly from Thomas Schatzl
* some logging commands in vesa.inc disabled
2000-02-12 13:39:19 +00:00
florian
c815eeb430 * quick hack for stack trace in the case of an unhandled exception 2000-02-10 22:56:43 +00:00
peter
20105af42c * fixed bug with reallocmem to use the wrong size when copying the
data to the new allocated pointer
2000-02-10 13:59:35 +00:00
peter
d45719bba6 * rewrote glob to be much simpler and cleaner, the old code did
strange complex things with pointers which was unnecessary
2000-02-09 23:09:13 +00:00
florian
17f8a06883 + helper routine for <int64> mod <in64> added 2000-02-09 22:19:24 +00:00
florian
e22cb380d4 + popsecondobjectstack added 2000-02-09 22:16:50 +00:00
florian
4dd95e6a80 * longjump does now a finit 2000-02-09 22:12:54 +00:00
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +00:00
peter
a2318ce5ec * regenerated 2000-02-09 14:29:22 +00:00
peter
8a7f1814bd + getlongname 2000-02-09 13:00:32 +00:00
peter
6d8e13cacb * halt moved to system.inc 2000-02-09 12:39:11 +00:00
peter
1ed0599052 * halt moved to system.inc 2000-02-09 12:24:39 +00:00
peter
6c15031ffd * moved halt to system.inc
* syslinux doesn't use direct asm anymore
2000-02-09 12:17:51 +00:00
pierre
abfb61c7d0 * fix for directories included in stabsinfo 2000-02-08 15:23:02 +00:00
peter
93f51ab18e * removed curbrk 2000-02-08 12:39:48 +00:00
peter
39621d787c + readlink 2000-02-08 12:05:58 +00:00
peter
df5b664031 * paramstr(0) support 2000-02-08 11:47:09 +00:00
peter
2eb25f4422 * regenerated 2000-02-08 00:09:21 +00:00
peter
06edc7aa14 * use backtracestrfunc() 2000-02-07 10:42:44 +00:00
florian
a8e85eb3a9 * small typo for go32 fixed 2000-02-06 22:13:42 +00:00
peter
0cf7314799 * linux elf support 2000-02-06 19:14:22 +00:00
peter
78cb6bfa89 * lineinfo unit added which uses stabs to get lineinfo for backtraces 2000-02-06 17:19:22 +00:00
florian
d3b00ca358 * popobjectstack is now a function 2000-02-06 17:17:57 +00:00
sg
a6a748cc9a * Fixed SetRGBPalette and GetRGBPalette (hopefully; not tested) 2000-02-06 11:26:45 +00:00
sg
40276150c5 * Fixed the default palette. libsvga works with a RGB range from 0-63, not
0-255!
* PutPixel fixed (pixels didn't get drawn before)
2000-02-06 01:48:55 +00:00
sg
4e5b164c36 * For Linux, "/" is added to the bgipath instead of "\" if this character
isn't already there.
2000-02-06 01:47:15 +00:00
peter
838eebdcd4 * initc added 2000-02-05 22:21:15 +00:00
peter
83aecd8c93 * added initc unit dummy 2000-02-05 21:53:46 +00:00
marco
b24d42f9be kill,kill 2000-02-04 17:24:04 +00:00
marco
48a5d8cf9d * not added with bin switch 2000-02-04 16:57:34 +00:00
marco
1bea181880 * Fixed tdir, some params need to be 32-bit 2000-02-04 16:55:47 +00:00
marco
ddbb0dc0b0 * added comments 2000-02-04 16:55:01 +00:00
marco
d2efb9cfae * Finished Linux (and rest syscalls) roughly. Some things still need to be
tested, and checked (off_t calls specially)
2000-02-04 16:53:26 +00:00
marco
7109bed98d * copied from BSD 2000-02-04 16:51:47 +00:00
marco
e59b21aff1 * copied from BSD 2000-02-04 16:51:02 +00:00
marco
aa8b9730a1 * a few functions added. 2000-02-04 12:05:04 +00:00
marco
84ad19e224 * initial version 2000-02-04 12:04:03 +00:00
michael
e13e07ba74 + Version using only vgalib 2000-02-03 20:39:58 +00:00
marco
f6a2e04b59 * Some types fixed/ported. 2000-02-03 17:05:55 +00:00
marco
aeafb7ba80 * fixes and updates due to linux unit porting 2000-02-03 17:05:13 +00:00
marco
c8a1564605 * additions fixes due to port linux 2000-02-03 17:04:47 +00:00
marco
f78cf7b628 * initial version. Ported till line +/- 2000 2000-02-03 17:03:36 +00:00
marco
db4815503d * Ported except for readdir which is 200 lines C code in FBSD linux
emulator
2000-02-02 18:07:27 +00:00
pierre
1be354d497 * use int64 typecast to avoid overflows in diskfree and disksize 2000-02-02 17:34:49 +00:00
pierre
927f40d079 * use int64 typecast in diskfree and disksize 2000-02-02 17:32:59 +00:00
marco
89fa5503fc * Typo in STAT record 2000-02-02 16:45:38 +00:00
marco
e0dcb956c2 * Initial version. Copy of linux version, with BSD stat. 2000-02-02 16:36:09 +00:00
marco
5557f89de8 * Checked stat constants 2000-02-02 16:35:29 +00:00
marco
9632dcc8dc * Ported more functions. Half done now. 2000-02-02 16:35:10 +00:00
marco
77dd315869 * Initial BSD version. Still needs a lot of work. 2000-02-02 15:41:56 +00:00
marco
7aab610a15 * initial BSD version. 2000-02-02 15:41:28 +00:00
peter
8ab57e063d * gettime supports now also sec100
* removed crtlib code as it was broken (still available in old releases)
  * int64 disksize/diskfree
2000-02-02 15:07:05 +00:00
peter
699502ad4f * fixed sharedlibunitobjects
* remove gpm from sharedlib
2000-02-02 11:29:23 +00:00
peter
d19710a9ad * fixed tracereallocmem which supplied the wrong size for tryresize 2000-02-02 11:13:15 +00:00
peter
6bbb440811 * fixed internal_memavail counting for tryresizemem 2000-02-02 11:12:29 +00:00
peter
6b3063c795 * fixed rangecheck error in format() 2000-02-01 12:53:23 +00:00
peter
ba0b8a2e1b * reallocmem fixed for freemem() call when size=0 2000-01-31 23:41:30 +00:00
Jonas Maebe
e534908b2f * committed the rest of my fix :) 2000-01-31 12:11:53 +00:00
pierre
38fb93fcfc * Jonas' fix for bug811 2000-01-31 10:15:43 +00:00
peter
dfca2834a9 * regenerated 2000-01-28 12:17:02 +00:00
florian
042cb265c0 * improved qword*qword code, if no overflow checking is done 2000-01-27 15:43:02 +00:00
peter
5dae10ae6a * removed gpm_ctlfd 2000-01-26 21:51:34 +00:00
peter
16bcf1dd2c * regenerated 2000-01-26 21:19:49 +00:00
peter
ebb089a003 * regenerated 2000-01-25 14:16:57 +00:00
florian
b37ad7f1bf * new constants to compile dos unit again 2000-01-25 13:15:35 +00:00
peter
9be202fd38 * fixed reallocmem which didn't work anymore and thus broke a lot
of objfpc/delphi code
2000-01-24 23:56:10 +00:00
florian
a8c87c6549 * disksize/diskfree return now a int64 2000-01-24 21:57:56 +00:00
daniel
d0a230bd96 * !proxy support in environment added (Peter) 2000-01-24 11:57:18 +00:00
peter
a16485ca15 * hasint64diskspace define changed to int64 so it's default now 2000-01-23 16:31:23 +00:00
marco
3933be768c * Added diskfree and disksize with AH=71 dos functions (LFN/Fat32) 2000-01-23 12:28:38 +00:00
florian
46ba0d434c * int64/int64 and int64*int64 is now done by the fpu if possible 2000-01-23 12:27:39 +00:00
florian
0a05c8d0e0 * reading of 64 bit type implemented 2000-01-23 12:22:37 +00:00
Jonas Maebe
c834c996e4 * set FPUInt64 to false for i386, because comp mul and div code for int64 is
commented out in int64.inc
2000-01-21 15:32:07 +00:00
peter
48603ff7a3 * support fm_inout as stdoutput for assign(f,'');rewrite(f,1); becuase
rewrite opens always with filemode 2
2000-01-20 23:38:02 +00:00
florian
7451fd5ab4 * writing of int64/qword fixed 2000-01-20 20:19:37 +00:00
Jonas Maebe
8095e34fae * finally fixed tracereallocmem completely 2000-01-20 14:25:51 +00:00
Jonas Maebe
adcc8f25b7 * another problme with realloc fixed (one left) 2000-01-20 13:17:11 +00:00
Jonas Maebe
2c25000f32 * fixed problem with reallocmem and heaptrc 2000-01-20 12:35:35 +00:00
peter
61e04d8e80 * regenerated 2000-01-18 20:58:37 +00:00
pierre
5cf8dc7d80 * DLL crash fixed : ExitProcess can not be called in DLL system_exit
Problem : Halt or RunError code inside DLL will return to caller !!
  * Changed the "if h<4 then" into "if do_isdevice(h) then " in do_close
    to avoid closing of standard files
2000-01-18 09:03:04 +00:00
peter
206ae47ad5 * regenerate for win32 fix 2000-01-18 00:25:15 +00:00
peter
4f22717b61 * open with mode 2 in rewrite 2000-01-17 20:02:30 +00:00
Jonas Maebe
bc9c4771c0 + support for NaN's, cleaner support for Inf 2000-01-17 13:00:51 +00:00
peter
b62af487eb * handle check fixed 2000-01-16 23:10:15 +00:00
peter
c67ec0e996 * fixed typo 2000-01-16 23:05:03 +00:00
peter
cea4495a20 * check handle for file closing 2000-01-16 22:25:38 +00:00
peter
c888816ce9 * use env var again for win32 2000-01-16 22:24:19 +00:00
Tomas Hajny
89fde0f912 * 'uses Dos' added for OS/2 target 2000-01-16 19:10:25 +00:00
Tomas Hajny
565a908ddc * cdecl for EMXWRAP added 2000-01-16 18:56:13 +00:00
peter
9694a38178 * small updates 2000-01-14 13:06:22 +00:00
peter
aadec7d674 * package generation fixes 2000-01-14 12:16:40 +00:00
peter
ffaf1b5adc * regenerated 2000-01-13 21:15:26 +00:00
Jonas Maebe
7fbe48e245 * fixed warning 2000-01-13 13:06:03 +00:00
peter
d2529529f5 * regenerated for new package deps 2000-01-13 11:40:51 +00:00
peter
03f93fb547 * regenerated to support gecho and win32 fpcext.cmd fixes 2000-01-12 23:26:13 +00:00
peter
f158f8be13 * added objfpc mode for 0.99.12 2000-01-12 10:43:40 +00:00
pierre
fb2b4f7510 * wrong change for StrPas function corrected 2000-01-11 22:56:57 +00:00
marco
226a728dae * direct params to internal asm. 2000-01-11 21:12:15 +00:00
marco
f2142127d8 * Direct params to internal assembler 2000-01-11 21:11:34 +00:00
marco
e8258f23c9 * Changed some direct asm params to real params 2000-01-11 21:11:04 +00:00
marco
dfe8d5e1ac * Changed some (%ebp) to real parameters 2000-01-11 21:07:33 +00:00
pierre
496f16ef2d * fsearch was still worng for multiple pathes 2000-01-11 13:45:19 +00:00
pierre
6a582a3902 * fsearch bugs and fexpand memory leak fixed 2000-01-11 12:49:26 +00:00
peter
55ce17b756 * regenerated, win32 uses fpcext.cmd file to pass options instead of
environment
  * packagename support
2000-01-10 23:02:21 +00:00
pierre
c5d69522ef * initc depends now on dpmiexcp unit 2000-01-10 12:15:26 +00:00
pierre
4a353c277d * add $goto on to avoid problems 2000-01-10 12:14:57 +00:00
peter
c775ade1d6 * primitives added 2000-01-10 09:54:30 +00:00
Tomas Hajny
2d90c8f390 * cdecl added 2000-01-09 21:01:59 +00:00
Tomas Hajny
c4153b1ff9 * FPK changed to FPC 2000-01-09 20:45:58 +00:00
pierre
a67b0c3484 * initc now loads dpmiexcp unit to avoid linker problems 2000-01-09 00:35:17 +00:00
Jonas Maebe
1c7978a96b + Mac linebreak (#13) support for readln 2000-01-08 17:08:36 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
pierre
b9e2a3edec * bad sound if changing frequency solved 2000-01-07 14:55:47 +00:00
peter
8cc5bdb728 * fixed exitprocess call, it's now in system_exit and uses exitcode 2000-01-06 23:40:36 +00:00
Jonas Maebe
3fafebe811 * fixed bug in outTextXY for vertical text 2000-01-06 16:17:56 +00:00
peter
fc6ef73478 * regenerated to support auto rtl compiling 2000-01-06 15:52:54 +00:00
Jonas Maebe
3acae3c898 * fixed bug in getscanlinevesa256 and hlinevesa256 for short lines (<8 pixels) 2000-01-06 15:19:42 +00:00
peter
c1fabab00b * FPCDIR setting/detect
* lot of other updates to create .deb files correctly
2000-01-06 01:29:48 +00:00
sg
ebb5f22c13 * _This_ is the real revision 1.32... :-) 2000-01-06 01:08:33 +00:00
pierre
72b6e9345b * missing declarations for otChar andotWChar added 2000-01-06 00:23:24 +00:00
sg
c44cc56a9a * Fixed missing () in InsertProp which caused memory corruptions
* GetOrdProp handles Char and WChar now. (there are still some
  property types missing!)
2000-01-05 18:59:56 +00:00
Jonas Maebe
0eacfedcb8 * fixed traceReallocMem with nil pointer (simply calls traceGetMem now in
such a case)
2000-01-05 13:56:55 +00:00
Jonas Maebe
4ad440c3e1 * fixed modified registers for port routines 2000-01-04 12:56:09 +00:00
peter
e3c8963279 * Makefile updates again 2000-01-04 00:00:14 +00:00
peter
2b4221b9b2 * regenerated 2000-01-03 19:42:36 +00:00
peter
ca84c2bc26 * fixed reallocmem with p=nil 2000-01-03 19:37:52 +00:00
Jonas Maebe
39343bf688 * removed/commented out (inited but) unused vars and unused types 2000-01-02 19:02:39 +00:00
Jonas Maebe
0e4fe19488 * made floodfill a *LOT* faster (better DrawnPoints management) 2000-01-02 19:01:32 +00:00
Jonas Maebe
96b6cdedae * another small fix to getpixel320 and putpixel320 (when clip = off) 2000-01-02 19:00:30 +00:00
Jonas Maebe
14bc1b379d * again small fix to patternline-, hline- and getscanlinevesa256 2000-01-02 18:51:05 +00:00
Tomas Hajny
5e32309c67 * cdecl added for doscalls routines 2000-01-02 17:45:25 +00:00
Tomas Hajny
4391a43070 * warning notes added 2000-01-02 17:37:42 +00:00
Tomas Hajny
3eb5f51a96 * it might even work now ;-) 2000-01-02 17:13:12 +00:00
Tomas Hajny
b7b725de76 + initial OS/2 release 2000-01-02 16:05:36 +00:00
Jonas Maebe
c2020897fd + by default, also attempt to install the fonts that come with TP7 1999-12-29 17:26:00 +00:00
Jonas Maebe
a4fc0eba52 * fixed put- and getpixel320 for fpc 1999-12-29 16:43:44 +00:00
Jonas Maebe
293e8aab2c * fixed small bug in hlinevesa256, getscanlinevesa25 and patternlinevesa256
* small speed-up in the above procedures
1999-12-29 12:15:41 +00:00
Jonas Maebe
e2892ee93a * replaced "movl mem,%eax; xorl %eax,%eax" with "movl mem,%eax;
testl %eax,%eax"
1999-12-28 12:19:36 +00:00
sg
89314732f1 * the long version of AssignStream now sets the result value to -1 in
_all_ cases when it would fail.
1999-12-28 09:38:07 +00:00
Jonas Maebe
c57914dd58 * fixed VESA palrec structure 1999-12-27 12:10:57 +00:00
Tomas Hajny
52448eed22 * OS/2 target added to the uses clause 1999-12-26 19:30:53 +00:00
Tomas Hajny
1946d0de84 * cdecl modifications 1999-12-26 19:30:18 +00:00
Tomas Hajny
7e3b1ab30f * OS/2 target added to the uses clause 1999-12-26 19:25:22 +00:00
Jonas Maebe
57a1f1639f * finished patternlineVESA256 and enabled it
* folded (direct)put/getpixVESA32k and 64k into one procedure since
    they were exactly the same code
1999-12-26 10:36:00 +00:00
Jonas Maebe
39d5e1c70a * XAspect and YAspect are now words instead of smallints, they
overflowed for resolutions > 640x480 otherwise
  * the number of pixels required for an ellipse in internalellipsedef
    is now calculated after the aspectratios have been taken into
    account
1999-12-26 10:33:06 +00:00
Jonas Maebe
f13d2bd66d + patternlineVESA256, not yet used because I'm not yet sure it's
already working 100%
  * changed {$ifdef logging} to {$ifdef logging2} for vlineVESA256 and
     hlineVESA256 (they're used a lot a working properly afaik)
1999-12-25 22:31:09 +00:00
Jonas Maebe
fa2cfdb2e7 * vlinevesa256 wasn't used yet for 640x480x256 1999-12-25 22:26:10 +00:00
Jonas Maebe
0f13ce953c * setpallette only worked for colors 0-63, fixed 1999-12-25 22:22:56 +00:00
Jonas Maebe
04e5edf419 * screen dimensions for g640x480x32k were set to 640x400, changed 1999-12-25 08:25:20 +00:00
peter
8baf3100ca * fixed exporting of variables which are declared by commandline or
set in the Makefile itself
1999-12-24 15:25:50 +00:00
peter
926aa3030b * regenerated 1999-12-23 19:43:59 +00:00
Jonas Maebe
c483ef813d * turn off IO checking when attempting to open a font file (to avoid RTE) 1999-12-23 16:48:13 +00:00
peter
eef7f751b0 * regenerated 1999-12-22 01:09:18 +00:00
Jonas Maebe
802730bfb5 * changed vesa.inc do it doesn't try to use linear modes anymore (doesn't work
yet!!)
  * fixed mode detection so the low modenumber of a driver doesn't have to be zero
    anymore (so VESA autodetection now works)
1999-12-21 17:42:17 +00:00
peter
602b295aaf * zipinstall fixes 1999-12-21 16:09:12 +00:00
pierre
5f6f1fd669 * typo error if previous commit 1999-12-21 11:48:09 +00:00
pierre
ffc5263bfc + FPC_CHARARRAY_TO_SHORTSTRING added 1999-12-21 11:13:34 +00:00
pierre
bb70445e8a * some assembler functions translated to pascal
WARNING these are not yet TESTED !!!
   + FPC_CHARARRAY_TO_SHORTSTRING added
1999-12-21 11:12:16 +00:00
pierre
8b91888fc2 * allow v09912 to compile system 1999-12-21 11:10:22 +00:00
pierre
4bfe8086c4 + CloseGraph if errors 1999-12-21 09:16:48 +00:00
pierre
f3557f20ed + cinv in interface 1999-12-20 22:24:48 +00:00
pierre
a648f31c6a * better closing of left open files 1999-12-20 22:22:41 +00:00
peter
720a3fb050 * modes moved to interface
* integer -> smallint
1999-12-20 11:22:38 +00:00
peter
62bd7e53ee * integer -> smallint to overcome -S2 switch needed for ggi version 1999-12-20 11:22:35 +00:00
peter
d61d92a0c7 * removed old graph 1999-12-20 11:21:38 +00:00
peter
322876c466 * obsolete 1999-12-20 11:21:08 +00:00
peter
3499c21355 * integer is defined as longint, removed smallint which is now in system 1999-12-20 11:20:35 +00:00
peter
fd5037b339 + smallint, maxsmallint
* integer is redefined as smallint
1999-12-20 11:20:14 +00:00
peter
005e98fb55 * fpcmaked -> fpcmade.<TARGET> 1999-12-19 15:16:39 +00:00
florian
b8d4922188 * bug #766 fixed 1999-12-18 23:08:33 +00:00
Tomas Hajny
8ae86c6d2b + Starting cdecl additions 1999-12-18 18:32:38 +00:00
florian
3df732dfa0 + initial version 1999-12-18 14:55:53 +00:00
florian
89c403c529 * very basic widestring support 1999-12-18 14:54:34 +00:00
pierre
a5ad88d254 * fix for bug754 : increase now dynamically max open handles 1999-12-17 23:11:48 +00:00
peter
a3c7cfd396 * fixed sysmemsize which did the and sizemask wrong 1999-12-16 19:11:49 +00:00
florian
80cdf79bae * ports needs objpas.ppu ! 1999-12-13 23:05:12 +00:00
peter
e9fadd941c * regenerated 1999-12-13 21:07:36 +00:00
peter
a3749c8bf3 * fixed getmem call with wrong size from reallocmem 1999-12-13 21:04:46 +00:00
Jonas Maebe
91fca2d81f * putimage now performs the lipping itself and uses directputpixel
(note: this REQUIRES or/and/notput support in directputpixel,
    this is not yet the case in the assembler versions!)
  * YOffset addition moved in hlinevesa256 and vlinevesa256
    because it uses still putpixel afterwards
1999-12-12 13:34:19 +00:00
Jonas Maebe
047a68614f * remove "random(longint): longint" if cardinalmulfixed is defined 1999-12-12 13:29:34 +00:00
Jonas Maebe
4ebd215a8c * changed definition of getscanlineproc to "getscanline(x1,x2,y:
integer; var data);" so it can be used by getimage too
  * changed getimage so it uses getscanline
  * changed floodfill, getscanline16 and definitions in Linux
    include files so they use this new format
  + getscanlineVESA256 for 256 color VESA modes (banked)
1999-12-11 23:41:38 +00:00
Jonas Maebe
6c3f032c9f * avoid unwanted type conversion from cardinal to longint in val for
signed and unsigned 32bit int
1999-12-11 19:07:44 +00:00
Jonas Maebe
c14811e633 * faster abs() function (no jump anymore) 1999-12-11 18:59:44 +00:00
peter
b1ce2dee62 * strnew is ofcourse also different between sysutils and strings, just
like stralloc/strdispose.
1999-12-10 15:02:12 +00:00
pierre
2d262be05a * some LinearFrameBuffer code, not finished 1999-12-10 12:52:54 +00:00
pierre
c3b94b99aa + some VESA 2 extensions 1999-12-10 12:51:09 +00:00
pierre
9bb0611f46 * avoid overflow on ProtW in PutPixel16 1999-12-10 12:49:24 +00:00
pierre
54874916af * SetBkColor like BP by changing Palette entry zero 1999-12-10 12:47:41 +00:00
carl
54be56118f + page flipping for all VESA modes.
(important note: The VESAModeInfo structure returns the MAXIMUM
    number of image pages, and not the actual available number of
    pages (cf. VBE 3.0 specification), that is the reason why
    SetVisualPage() has so much checking).
1999-12-09 02:06:00 +00:00
pierre
1fe7793288 + add VESA compatible mode in 16 and 256 colors 1999-12-08 09:09:34 +00:00
peter
22a0fce29c don't include browser info, force $Y- 1999-12-08 01:08:02 +00:00
peter
1a553942fb * overloaded gettime functions supporting hsec and msec,usec 1999-12-08 01:03:54 +00:00
peter
daf8bdf1e1 * fpcmake updated for win32 commandline 1999-12-06 18:26:48 +00:00
peter
1d2da4c432 * fixed vmtptr crash in tstream.put 1999-12-06 18:25:30 +00:00
michael
514f0f9879 + Additional logging 1999-12-04 21:20:04 +00:00
michael
b3f5bf1766 + Now time zone also works on SuSE and RedHat 1999-12-04 13:50:43 +00:00
pierre
750404818d * avoid FPC problem in array of char comp 1999-12-02 22:34:14 +00:00
pierre
9a2bf19e95 + mode constants for VGA driver 1999-12-02 22:33:04 +00:00
peter
9138338d04 * public added to TObject 1999-12-02 19:28:53 +00:00