Re: [fpc-pascal] Floating point question

2024-02-10 Thread greim--- via fpc-pascal
Hi, my test with Borland Pascal 7.0 running in dosemu2 running 80x87 code. The compiler throws an error message for calculating HH and II with explicit type conversion. The results of FF and GG are the same! Even on 16 bit system! I think this behavior is right! In the 80x87 emulation

Re: [fpc-pascal] Oberon-0

2023-04-19 Thread Markus Greim via fpc-pascal
umping off point, would be interesting to see pascal available for the propeller boards. On 4/18/2023 6:21 AM, Markus Greim via fpc-pascal wrote: > Hi Adriaan, > whats about a Oberon-0 compiler compiling to Forth? > And then Forth to MacOSX? (RetroForth, Swift or whatever) >

Re: [fpc-pascal] Oberon-0

2023-04-18 Thread Markus Greim via fpc-pascal
Hi Adriaan, whats about a Oberon-0 compiler compiling to Forth? And then Forth to MacOSX? (RetroForth, Swift or whatever) That may sound silly, but such a Compiler would help a lot to port Obern to other platforms resp Microcontrollers etc. For example to the Propeller II Kind Regards

Re: [fpc-pascal] [Pas2js] FPC and WebAssembly

2021-12-25 Thread greim--- via fpc-pascal
Congratulations! and Frohe Weihnachten Markus --- original message --- On December 24, 2021, 2:16 PM GMT+1 fpc-pascal@lists.freepascal.org wrote: >> And yes, we can do graphics too: >> >> https://www.freepascal.org/~michael/pas2js-demos/wasienv/terminal/ > That should obviously

Re: [fpc-pascal] Conversion from C to Pascal - Left bit shift

2021-09-04 Thread Markus Greim via fpc-pascal
5 cents Markus Greim Mit freundlichen Grüßen Markus Greim Schleibinger Geräte Teubert u. Greim GmbH Gewerbestrasse 4 84428 Buchbach Germany Tel. +49 8086 94731-10 Fax. +49 8086 94731-14 Mobil +49 172 8 999 196 http://www.schleibinger.com Amtsgericht Traunstein HRB 9646 Geschäftsführer: Dipl

Re: [fpc-pascal] TurboVision is reborn as FOSS (again)

2020-12-24 Thread greim--- via fpc-pascal
/22/2020 11:43 AM, Markus Greim via fpc-pascal wrote: > Wow.. > Programming languages I worked with in the last 40 years: > 12. SPIN > When you say spin, I'm assuming you're talking about the parallax propeller boards programming language. The propeller 2 is coming

Re: [fpc-pascal] TurboVision is reborn as FOSS (again)

2020-12-23 Thread Markus Greim via fpc-pascal
Wow.. I am impressed... I hope my PASCAL is better then my English (first foreign language: Latin (for 7 years), 2nd English (6 years), 3rd ancient Greek (3 years)...) Programming languages I worked with in the last 40 years: 1. Basic first on a Tektronix 4050 and a TRS-80 about 1979 2.

Re: [fpc-pascal] TurboVision is reborn as FOSS (again)

2020-12-22 Thread Markus Greim via fpc-pascal
FPC has had a Turbo Pascal-like console IDE for many years... "has had" ? AKAIK "has" I still used it yesterday. Grüße Markus --- original message --- On December 20, 2020, 7:33 PM GMT+1 fpc-pascal@lists.freepascal.org wrote: On 12/19/20 6:35 PM, Liam Proven via fpc-pascal wrote:

Re: [fpc-pascal] TurboVision is reborn as FOSS (again)

2020-12-22 Thread Markus Greim via fpc-pascal
Hello Nikolay, I am a German - so may be we are both "lost in translation" Kind Regards Markus --- original message --- On December 21, 2020, 10:17 AM GMT+1 nick...@gmail.com wrote: On 12/21/20 10:42 AM, Markus Greim wrote: > FPC has had a Turbo Pascal-like console

Re: [fpc-pascal] New User

2020-12-02 Thread greim--- via fpc-pascal
Fantastic, a real good introduction for us old Pascalians !! We should send a link to Niklaus Wirth ;-) Markus Greim --- original message --- On November 30, 2020, 12:09 PM GMT+1 fpc-pascal@lists.freepascal.org wrote: On Mon, Nov 30, 2020 at 4:43 AM Derek Stewart via fpc-pascal wrote

Re: [fpc-pascal] Graphing library

2020-11-17 Thread Markus Greim via fpc-pascal
Hello Bernd, there is a bachelor thesis from Jörg Winkler, 2013 in the net (in German): "OpenGL-basierter logischer Gerätetreiber für ein Grafisches Kernsystem" Entwicklung eines logischen GKS Gerätetreibers auf der Basis von OpenGL

Re: [fpc-pascal] basic question on begin, end;

2020-09-25 Thread Markus Greim via fpc-pascal
Bo, "Programs must not be regarded as code for computers, but as literature for humans" Niklaus Wirth, the inventor of PASCAL. Last sentence on the last slide of his presentation. given at a conference to honor of his 80th birthday at the ETH Zürich in 2014. (i had the honor to

Re: [fpc-pascal] Porting from Turbo Pascal to FPC

2020-05-01 Thread Markus Greim
Hello, I run Borland Pacal 7.01 in Dosemu / XdosEmu (don't use the 64bit binary) on Linux (Kernel 4.15, 64bit, Linux Mint 19.1, 16 CPUs...) here. Works fine, even the serial interface. At least for my experience, the printer doesn't work. So I "print" in a (shared) graphic file, and print

Re: [fpc-pascal] Illegal counter variable?

2019-09-10 Thread Markus Greim
James, not every body is using a GHz machine. I am , for example, programming a 80186 in an embedded system with very limited speed an RAM. But I understand thats not a general argument. But look at MISRA C. Its a big set of rules for "real" save C programming, more or less now the

Re: [fpc-pascal] Illegal counter variable?

2019-09-10 Thread Markus Greim
AFAIK these is the standard behavior since the first PASCAL versions. We must not change it. It prevents a lot of side effects, and PASCAL is NOT C without brackets! Use while or repeat instead! >From Niklaus Wirths last 2004 Oberon manual:

Re: [fpc-pascal] Source file macro

2019-06-21 Thread Markus Greim
Great, looking for this "Macro" for 15+ years Kind Regards Markus --- original message --- On June 19, 2019, 5:35 PM GMT+2 ga...@poczta.onet.pl wrote: W dniu 2019-06-19 o 17:10, Ryan Joseph pisze: >> >> Oh I see now. Strange syntax, never saw that before. Can you get the full >> path

Re: [fpc-pascal] Comp type

2018-01-11 Thread greim
By the way there was a bug in fpc 3.0. I am not sure if it is fixed yet. Dividing a comp number by any other number gives wrong results. Please see my posting from 29.06.2016 Markus ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Comp type

2018-01-10 Thread greim
AFAIK there is a small difference between comp and int64 COMP is 63bit + sign bit int64 is 2s complement. I hope I am right here. Markus ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Modern Compiler Construction using Pascal

2018-01-02 Thread greim
I guess you already noticed the book of the master himself: Nicklaus Wirth https://www.inf.ethz.ch/personal/wirth/CompilerConstruction/index.html Its revised 2017 (!) based on Oberon. Afaik one of the first editions was based on Pascal. Markus Am 01.01.2018 um 19:17 schrieb Yves

Re: [fpc-pascal] Pipe vs Memory buffer.

2017-01-26 Thread greim
Hello Fred, I didn't understand the software structure / problem behind the C-> Pascal translation, but for me named pipes work very well for many kinds of interprocess communication. Markus Am 25.01.2017 um 23:13 schrieb fredvs: Hello In a C method: OP_WARN_UNUSED_RESULT OggOpusFile

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2017-01-01 Thread greim
Hallo Bo, You are right. If you want to keep the numbers of one line together, then READ doesn't work for you. Markus Am 31.12.2016 um 12:18 schrieb Bo Berglund: On Sat, 31 Dec 2016 11:27:53 +0100, greim <gr...@schleibinger.com> wrote: Hallo Bo, please try the simple READ(myf

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-31 Thread greim
Hallo Bo, please try the simple READ(myfile, x); as mentioned in my posting from 23.dec. It works w/o any postprocessing. Markus ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] How to split file of whitespace separated numbers?

2016-12-23 Thread greim
Hey Kids, why so complicated? Good old Niklaus Wirth has already everything done for you: I have to cite one sentence on the last slide at his birthday colloquium: "Reducing size and complexity is the triumph" So READ is already quite clever, it doesn't care about whitespaces, carriage

[fpc-pascal] Severe bug (?) dividing comp variables in 3.0.0

2016-06-29 Thread greim
old, but reliable, code around. Example below. Regards Markus -- PROGRAM compbug300; VAR x1, x2 : comp; (* Dividing 8 / 2 doesn't work with fpc 3.0.0 but works for example with fpc 2.6.4 Markus Greim / 29.jun

Re: [fpc-pascal] DOS compiler wiki page: please review

2013-10-14 Thread greim
Am 06.10.2013 22:37, schrieb Nikolay Nikolov: On 10/05/2013 03:07 PM, greim wrote: Hi, writing a 8086 version of fpc is not so strange as some may think! There are still some 80186 processors around running in embedded systems! These architecture is certified for some applications

Re: [fpc-pascal] DOS compiler wiki page: please review

2013-10-05 Thread greim
Hi, writing a 8086 version of fpc is not so strange as some may think! There are still some 80186 processors around running in embedded systems! These architecture is certified for some applications in industrial and avionik controll. A good survey over most #186 derivates you may find at:

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-04-28 Thread greim
Hi, http://www.astrobe.com/default.htm Oberon on ARM. I think its worth to try it! Markus Greim Am 19.03.2013 08:46, schrieb Martin Schreiber: On Tuesday 19 March 2013 08:11:49 Justin Smyth wrote: Thanks, i am waiting to hear back regarding some suggest changes that were suggest

[fpc-pascal] Job offer East of Munich / Stellenangebot Landkreis Mühldorf Oberbayern

2012-04-19 Thread greim
in a small village in the very green hart of Upper-Bavaria. If you are interested please write an e-mail to me: greim(a)schleibinger.com Kind Regards Markus Greim Schleibinger Geräte Teubert u. Greim GmbH Gewerbestrasse 4 84428 Buchbach Germany http://www.schleibinger.com Court having

[fpc-pascal] Prof. Wirth speaking on Oberon day

2011-06-30 Thread greim
/oberon Another private video is there: http://www.google.de/url?sa=tsource=webcd=4ved=0CDUQtwIwAwurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHoZuzE7Lq5Eei=LVAMTvHlL8nMtAaK7JjWDgusg=AFQjCNH8IqQ6XmTRf1xgEDO0MhLb0zNzKQsig2=BTEC0ZPEueDm7FVacnw8Pg Regards Markus Greim

Re: [fpc-pascal] Oberon Day 2011, N. Wirt speaking!

2011-05-14 Thread greim
Jeppe, Do you know if the talks there will be recorded? Could be nice :) i don't know, i am not part of the organizing committee, but i will post any link here. Markus ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] (Unix) serial port handling

2011-03-08 Thread greim
, on Windows RX and TX Mit freundlichen Grüßen Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Name of the programming language used in/with FPC

2011-02-16 Thread greim
I suggest to ask first Professor Niklaus Wirth Regards Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Synaser on ARM

2011-02-15 Thread greim
Hi Nataraj Are you using Angstrom tool chain on Gumstix Overo? Is it uclibc based? glibc AFAIK.. I do have my share of woes on Codesourcery TC for fpc. ... sorry i am not sure if i had understand your comment right i fear.. I was using the libs found at free-electrons (see last mail ).

[fpc-pascal] Synaser on ARM

2011-02-14 Thread greim
it is linking and running, great! Regards Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] ARM crosscompiler again

2009-07-21 Thread greim
memory references for `mov' hallo.s:29: Error: no such instruction: `bl fpc_writeln_end' hallo.s:30: Error: no such instruction: `bl FPC_IOCHECK' hallo.s:31: Error: no such ins etc. any further idea..??? Thanks! Markus Greim If you haven't done a make install

Re: [fpc-pascal] ARM crosscompiler again

2009-07-21 Thread greim
Hello World on the ARM is also ok. Thanks a lot Markus Greim Carsten Bager schrieb: When I build the compiler i use this - Linux #!/bin/sh export PATH=$PATH:/pp/bin export PATH=$PATH:/Fpc/ArmBin/218 make clean all OS_TARGET=linux CPU_TARGET=arm PP=/pp/bin/fpc

[fpc-pascal] ARM crosscompiler again

2009-07-20 Thread greim
a softiii...) Mit freundlichen Grüßen Markus Greim -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkpk4zkACgkQWVkhSqgWKAKikgCgsZxeZ+P/DMXU+wYoIZoJbbkZ O1QAnAjEi2T8gQLYorRPbjjUJl/WCmA+ =Q9PB -END PGP

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-20 Thread greim
. Although we are not dogmatic about a matter, it does seem that goto statements should be used sparingly, if at all. Mit freundlichen Grüßen Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-08 Thread greim
but we are living in a real world..so what,.but does i need a Windows web server ? We are using here Debian/ubuntu based web servers. Any chance to run the server part there ?? Mit freundlichen Grüßen Markus Greim ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Graphics in Linux?

2005-10-16 Thread greim
still a hack, but if there is somebody intersted in i may publish it. Theoretical it should alos work with WIN32 but i have not testet it yet. Mit freundlichen Grüßen Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http