Re: [fpc-pascal] "No debugger support" in FPC3.0.4 for DOS (go32v2)

2018-09-30 Thread Lubomír Čabla
I tested go32v2-ide-with-gdb.zip: IDE 1.0.12, GDB 7.3, FPC 3.0.4. 1. Windows 7/32-bit fpnovesa.exe - OK fpvesa.exe - exit with "System does not support fullscreen mode" fpvesag.exe - exit with "System does not support fullscreen mode" Tested on NB/PC with max. 2K (1920/1080) monitors. 2. rea

Re: [fpc-pascal] FPC 3.0.4 DOS GO32V2

2017-12-04 Thread Lubomír Čabla
Thanks to all for help. On Mon, Dec 4, 2017 at 3:56 AM, Nikolay Nikolov wrote: > > > On 12/03/2017 11:44 PM, Tomas Hajny wrote: > >> On Sun, December 3, 2017 22:10, Nikolay Nikolov wrote: >> >>> On 12/02/2017 10:50 PM, Lubomír Čabla wrote: >>> &g

[fpc-pascal] FPC 3.0.4 DOS GO32V2

2017-12-02 Thread Lubomír Čabla
Hi, in new version 3.0.4 you have changed the declaration of some procedures and functions in the go32 unit. It does not matter, but I see a little mismatch for linear base address: FPC 3.0.2 function get_segment_base_address(d : word) : longint; function set_segment_base_address(d : word;s

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-31 Thread Lubomír Čabla
, Mar 30, 2014 at 3:14 PM, Tomas Hajny wrote: > On Sat, March 29, 2014 17:16, Lubomír Čabla wrote: > >>No idea what could trigger that behavior change... > >>I never tested cwsdpmi r7... > > > > But this release CWSDPMI r7 is included in the installation package

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-29 Thread Lubomír Čabla
>No idea what could trigger that behavior change... >I never tested cwsdpmi r7... But this release CWSDPMI r7 is included in the installation package basedos.zip from FPC 2.6.4 for DOS. However it does not matter. Lubomir Cabla ___ fpc-pascal maillist

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-28 Thread Lubomír Čabla
I have only good news... The window list with ALT+0 works, good job, thank you. Yes, I am using the option -Cr just for debugging purpose. >Did you try to use -O- to recompile all rtl/packages >to rule out optimization error? Not yet, because I found the cause of the freezing program FP.EXE when

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-26 Thread Lubomír Čabla
First the good news: this new release of FP.EXE has removed previous errors and it seems that GDB works. Thank you for your work. Now the bad news: 1. When I press "ALT+0" to get window list I get this error regardless if a file(s) are opened or not: Runtime error 219 at $4868 $4868 F

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-24 Thread Lubomír Čabla
No need to apologize, thank you and Tomas Hajny for your help. I made a fresh installation of FPC GO32V2 2.6.4 in pure DOS from Win98 SE/FAT32 with DOSLFN. (BTW, in package dos264full.zip is missing cwsdpmi.exe) For testing FP.EXE with GDB is used small test program: var x : word; begin x:=1;

[fpc-pascal] FPC 2.6.4 for GO32

2014-03-17 Thread Lubomír Čabla
Maybe I'm doing something wrong but in the IDE from FPC 2.6.4 for GO32 is GDB missing. Always I get "No debugger support available". Thank you for your help. Lubomir Cabla ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support

2013-11-11 Thread Lubomír Čabla
all] Error 2 make.exe[2]: *** [build-stamp.i386-go32v2] Error 2 make.exe[1]: *** [fpcsrc/build-stamp.i386-go32v2] Error 2 make.exe: *** [go32v2zip] Error 2 On Sat, Nov 9, 2013 at 11:03 PM, Lubomír Čabla wrote: > Oh my god, I made a big mistake. > > I'm very sorry, but you know -

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support

2013-11-09 Thread Lubomír Čabla
00058141 $0005C46B $0015A060 $0015A4B4 $0015A4B4 $0015B13B $000DF46C $000DF46C $000F66D3 *$000F6Aaasmtai.pas(396,11) Warning: Constructor should be public* *Fatal: Compilation aborted* 4C $000F6E50 $00131AB0 $0013E7D1 On Sat, Nov 9, 2013 at 12:35 AM, Tomas Hajny wrote: > On F

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support

2013-11-08 Thread Lubomír Čabla
Hi Pierre and Tomas, thank you for your help but I am totally confused and do not know how to compile the compiler from snapshot. Could you help me, please? Thank you. I downloaded fpcbuild.zip, unpacked to Z:\fpcbuild and I got these errors: Z:\fpcbuild>make go32v2zip z:/pp/bin/go32v2/make.exe

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-10-14 Thread Lubomír Čabla
Sven, thank you for info. On Wed, Oct 9, 2013 at 11:14 PM, Sven Barth wrote: > Am 09.10.2013 21:10 schrieb "Robert Wolfe" : > > > > > On 10/09/2013 01:59 PM, Lubomír Čabla wrote: > >> > >> OK, with FPC.ZIP dated 5.10.2013 I have translated succes

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-10-09 Thread Lubomír Čabla
:46 PM, Lubomír Čabla wrote: > OK, with FPC.ZIP dated 5.10.2013 I have translated successfully FP.EXE > and it works. I tested only FP.EXE, not RTL units. > > It seems that the error (FP.EXE cannot run) was corrected. > > Thank you for your help. > > Expected question: wh

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-10-04 Thread Lubomír Čabla
OK, how do I know that this is corrected? Or I will try next time. On Wed, Oct 2, 2013 at 2:25 AM, Tomas Hajny wrote: > On 30 Sep 13, at 17:47, LubomĂ­r ÄŚabla wrote: > > > Attempt to compile IDE: > > > > OS Windows XP 32 CZ > > FPC GO32V2 2.6.2 is installed in z:\pp > > PATH contains Z:\pp\bi

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-09-19 Thread Lubomír Čabla
es an exception SIGSEV.* > > > ** ** > > *If previously run IDE from FPC 1.0.11, then IDE from FPC 2.6.2 starts.*** > ** > > ** ** > > It is really funny... > > ** ** > > Can you tell me where can I download source for IDE from FPC 2.6.2 > >

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-09-19 Thread Lubomír Čabla
Currently I'm quite busy but definitely I will try it and let you know. Thank you. On Thu, Sep 19, 2013 at 11:07 AM, Tomas Hajny wrote: > On Wed, September 18, 2013 20:49, Lubomír Čabla wrote: > > I am running pure DOS 7 from Windows 98 US, no drivers, no TSR programs. > &

Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-09-18 Thread Lubomír Čabla
source for IDE from FPC 2.6.2 and how to compile it? I will try it when I have a free weekend. Thank you. On Wed, Sep 18, 2013 at 8:52 AM, Tomas Hajny wrote: > On Tue, September 17, 2013 20:57, Lubomír Čabla wrote: > > FPC 2.6.2 for DOS/Go32V2 > > > > There is the fatal I

[fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time

2013-09-17 Thread Lubomír Čabla
FPC 2.6.2 for DOS/Go32V2 There is the fatal IDE unstability in FPC 2.6.2 under pure DOS. IDE almost always starts only first time (after installation or reboot). I start the IDE, compile and run the program (e.g. Hello.pas) and close IDE. But when I want to start IDE again it crashes with SIGSEGV

Re: [fpc-pascal] FPC GO32 2.6.2 wrong result from SecondsBetween

2013-09-17 Thread Lubomír Čabla
; On Tue, September 17, 2013 20:22, Lubomír Čabla wrote: > > It may be, but I tried to use EncodeDateTime with the same result: > > > > DT1:=EncodeDateTime(2013,5,28,15,26,1,0); > > DT2:=EncodeDateTime(2013,5,28,15,27,1,0); > > > > Function EncodeDateTime calls TryEn

Re: [fpc-pascal] FPC GO32 2.6.2 wrong result from SecondsBetween

2013-09-17 Thread Lubomír Čabla
comparing the two values ​​get the correct time difference and 59 seconds is not correct. On Tue, Sep 17, 2013 at 6:15 PM, Bart wrote: > On 9/17/13, Lubomír Čabla wrote: > > I am doing something wrong? > > Probably rounding errors: > DT1:=EncodeDate(2013,5,28)+EncodeTi

[fpc-pascal] FPC GO32 2.6.2 wrong result from SecondsBetween

2013-09-17 Thread Lubomír Čabla
I am doing something wrong? When I encode the date and time then for SecondsBetween I get 59 instead of 60 and for MilliSecondsBetween also. When I encode only time then for SecondsBetween I get correct answer 60. Free Pascal Compiler version 2.6.2 [2013/02/12] for i386 Target: GO32 v2, i386 Res

Re: [fpc-pascal] format string - number padding

2012-01-09 Thread Lubomír Čabla
Try writeln(Format('%.2x', [$1])); On Mon, Jan 9, 2012 at 12:07 PM, ik wrote: > Hello, > > I'm trying to use the Format function to pad a number like so: > 01 > where the original value is "$1". > > I tried to do the following: > > writeln(Format('%02X', [$1])); > writeln(Format('%0:2X', [$1]))

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-11 Thread Lubomír Čabla
Hello,   solution you can find in file "c:\pp\source\docs\go32ex\intpm.pas".Best regards  -- Lubomir Cabla/CBLWeb page : http://www.hdat2.com/Web forum: http://www.getphpbb.com/phpbb/index.php?mforum=lcabla { This example shows how to redirect a software interrupt by changing the protected mode ha

Re: [fpc-pascal] FPC version 2.0.0 officially released.

2005-05-16 Thread Lubomír Čabla
Hello, Congratulation ! do you plan a new version 2.x.0 for DOS (go32v2) or development of DOS version is stopped ? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal