Komu: FreeDOS Developers
Kopie: [email protected]
Datum: 4. 11. 2024 11:12:29
Předmět: Re: [Freedos-devel] freepascal package oddities
"
> On Nov 2, 2024, at 11:53 AM, Eric Auer via Freedos-devel wrote:
>
>
> Hi! Looking at the 34 MB FPC package, I noticed that:
>
> - quit
> On Nov 2, 2024, at 11:53 AM, Eric Auer via Freedos-devel
> wrote:
>
>
> Hi! Looking at the 34 MB FPC package, I noticed that:
>
> - quite a few go32v2 binaries in the sources (?) are not UPXed
> - UPX crashes with a failed assertion for some of those
>
> and also that:
>
> - the units /
Hi! Looking at the 34 MB FPC package, I noticed that:
- quite a few go32v2 binaries in the sources (?) are not UPXed
- UPX crashes with a failed assertion for some of those
and also that:
- the units / libraries come as .o and some type of binary files
- not sure where the actual source t
Perhaps you may first try get it running with the large memory model,
and if this runs, try to optimize it for a smaller memory model? The
following least compiles for me, with A BUNCH of warnings, and the
binary is 68k in size, comparing to 11k in the bin folder (did you UPX
compress it or is
Hello there!
Sorry for being late on the topic.
The following link directs to the forum item that I opened when trying to
re-compile FD-KEYB under FPC.
Basically, KEYB needs to use different procedures to store a key in the
buffer, depending on the parameters and system configuration. The problem
Hi,
On Sun, Nov 12, 2023 at 5:46 AM Bernd Böckmann via Freedos-devel
wrote:
>
> On 12.11.2023 02:44, Rugxulo via Freedos-devel wrote:
>
> But I still have not found an elegant solution yet to do a widening
> conversion of an untyped pointer from near to far.
> Should be rarely needed though. For
On 12.11.2023 02:44, Rugxulo via Freedos-devel wrote:
FarAddr internal function
Thanks, that brings me further :-)
I also changed my coding style from a more C oriented style to a more
Pascal like. Unlike in C, one does not have to pass around (explicit)
pointers that often. For example inst
Hi again,
On Fri, Nov 10, 2023 at 7:56 AM Bernd Böckmann via Freedos-devel
wrote:
>
> >
> > I believe int64 was originally from Delphi. (Isn't there also "long
> > long" support in OpenWatcom via "-za99“?)
>
> Yes, Watcom C supports 64-bit integer arithmetic, in contrast to Turbo C 3.1,
> which
Hi,
On Thu, Nov 9, 2023 at 4:39 PM Bernd Böckmann via Freedos-devel
wrote:
>
> > Could you please post the exact message you got from the compiler?
>
> For something like this "FarPointer(@Buffer)" I get the following error
> message:
>
> "Error: Illegal type conversion: "Pointer" to "FarPointer
>
> I believe int64 was originally from Delphi. (Isn't there also "long
> long" support in OpenWatcom via "-za99“?)
Hello Rugxulo,
Yes, Watcom C supports 64-bit integer arithmetic, in contrast to Turbo C 3.1,
which to my knowledge does not, but silently interprets „long long x“ as „long
x“, yi
Hello Hippo,
thanks for the hint. I have a copy of Borland Pascal 7 inherited from my
father. In fact I think I have learned programming with it when I was a kid, or
with a previous version. Fascinating piece of software. But I prefer to build
open tools with open tools :-)
Greetings, Bernd
As far as I know the earlier Turbo-Pascal compilers (I think 5.5 and
earlier) have been freeware'd years ago. They can natively compile
16bit code on Freedos and might be worth a try. You can find even
ancient versions of TP, like 3.0 on winworldpc, and I actually quite
like to go down memory lane
Btw, when compiling in large memory model via
fpc -Wmlarge
the pointer errors when compiling keyb are gone. There are some 20
remaining compile errors. Perhaps these can be solved.
Bernd
On 09.11.2023 23:38, Bernd Böckmann via Freedos-devel wrote:
Hello Aitor,
> Could you please post the e
Hello Aitor,
> Could you please post the exact message you got from the compiler?
For something like this "FarPointer(@Buffer)" I get the following error
message:
"Error: Illegal type conversion: "Pointer" to "FarPointer""
My opinion is that this should be supported by the compiler, because
Hello,
Could you please post the exact message you got from the compiler?
I got mysefl problems with such convertions trying to compile FD-KEYB with
FPC, but although I posted for help in the forums, I didn't get anything
really useful and finally gave up.
But I am curious if you get the same err
Hi,
On Wed, Nov 8, 2023 at 2:21 PM Bernd Böckmann via Freedos-devel
wrote:
>
> the tests I did showed that FreePascal is perfectly capable of producing
> reasonably small binaries fitting the small memory model, if you do not
> require the full language feature set (stay away from ObjFpc / Delphi
Hi,
On Wed, Nov 8, 2023 at 1:42 PM Bernd Böckmann via Freedos-devel
wrote:
>
> has anyone recently played around with the FreePascal 8086 cross
> compiler to generate DOS executables? I try to convert a near pointer to
> a far pointer while working under the small memory model, but that is
> not
Hi Ralf,
the tests I did showed that FreePascal is perfectly capable of producing
reasonably small binaries fitting the small memory model, if you do not
require the full language feature set (stay away from ObjFpc / Delphi
modes). SysUtils and exception handling pulls in a significant amount
On 11/8/2023 11:40 AM, Bernd Böckmann via Freedos-devel wrote:
Hi all,
has anyone recently played around with the FreePascal 8086 cross
compiler to generate DOS executables? I try to convert a near pointer
to a far pointer while working under the small memory model, but that
is not as trivial
Hi all,
has anyone recently played around with the FreePascal 8086 cross
compiler to generate DOS executables? I try to convert a near pointer to
a far pointer while working under the small memory model, but that is
not as trivial as it should be, because I have not found a language /
library
The bug description is very confusing. It is not clear whether user
complains about missing Video unit (files VIDEO.PPU and VIDEO.O) or the fact
that under DOS/GO32V2 platform are not available the GUI Delphi-like
elements.
If it is the firsr case it is probably a LFN related problem.
The Video
Hello,
As for myself, I attempted to compile FD-KEYB with FPC 16-bit, which I find
to be a good proof, as it has heavy parts in Assembler, other parts in
Pascal, and many procedure-type variables.
It helped me fix a couple of minor (almost cometic) failures in the code.
But I did not succeed. The
Hi,
On Wed, Apr 12, 2023 at 7:10 PM Jim Hall wrote:
>
> > I believe this is a Free Pascal issue because the short
> > hello world test works, but if you decide to use any
> > objects, the Video unit is completely missing.
I don't do a lot of graphical programming, so I'm unfamiliar with the
"Vid
On 4/12/2023 5:08 PM, Jim Hall wrote:
A user emailed me (late last year) with a bug/issue report on
FreePascal in FreeDOS 1.3. I was going to (finally) reply to say they
really should ask the FreePascal people about this, but I realized I
couldn't really make out what they were saying. This is th
A user emailed me (late last year) with a bug/issue report on
FreePascal in FreeDOS 1.3. I was going to (finally) reply to say they
really should ask the FreePascal people about this, but I realized I
couldn't really make out what they were saying. This is the part of
their email that relates to th
Hi,
On Mar 3, 2013 8:09 AM, "Aitor Santamaría" wrote:
>
> At least the posting task has been done :)
> (and as usual, corrections by native English speakers are welcome).
>
Cool, thanks. I did also mirror the files to iBiblio the other day, too.
--
At least the posting task has been done :)
(and as usual, corrections by native English speakers are welcome).
Aitor
2013/2/28 Rugxulo
> Hi guys, quoting from the main http://www.freepascal.org page:
>
> ==
> February 23rd, 2013
>
> FPC 2
Hi guys, quoting from the main http://www.freepascal.org page:
==
February 23rd, 2013
FPC 2.6.2 has been released! 2.6.2 is a fixes update from the 2.6.x branch
The new features include, amongst others:
Compiler:
Improvements and fixes for
Jim Hall wrote:
> programmer, so this isn't something I can do - is anyone here planning
> to compile the latest 2.2.0 for DOS?
We are working on it.
Robert Riebisch
--
BTTR Software
http://www.bttr-software.de/
-
This SF.
I saw that FreePascal 2.2.0 has been released ... but the latest
version for DOS is still 2.0.4 (Aug 2006). I'm not a Pascal
programmer, so this isn't something I can do - is anyone here planning
to compile the latest 2.2.0 for DOS?
If so, please contact me off-list so I can get a copy uploaded to
30 matches
Mail list logo