[fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

Philippe philippe at quarta.com.br
Sun Oct 6 18:39:05 CEST 2013


it compiles and links ... still a lot of stuff to write and a bunch
to adjust!!!! 

first tests ... first suprises!!! 

but it compiles and
runs ... till the fisrt bug during first steps ... 


On Sat,
5 Oct 2013 22:48:09 +0200, Tomas Hajny wrote: 

> On Sat, October 5,
2013 21:34, Philippe wrote:
>> I am back !!! (a bit sick ... teeth
...) I am now trying to move to win32. At first leaving crt unit, moving
to video unit. Problem!(?) ... I was using window, gotoxy and so on ...
and I donĀ“t find anything similar with video unit!
> First of all,
what do you try to solve by moving from unit Crt to unit
> Video? I
suggested using unit video as a substitution of your original
> direct
access to video adapter memory. Partial alternative of GotoXY
> exists
in unit Video - there is SetCursorPos. However, there is no direct
support for Window and thus the addressing is in absolute coordinates,
> relative to the defined window. Using direct video memory access
> very low-level approach) together with high-level routines like
> etc., is a bit strange. Units Video and Crt are not very
compatible to
> each other at the moment, unfortunately (although the
incompatibility may
> not be as bad on Win32 as on some other
platforms). Nevertheless, you may
> try it. Otherwise, you'd need either
to create your own alternatives of
> Window, etc., based on unit Video,
or to avoid using the solution based on
> directly addressing video
> Tomas
> fpc-pascal maillist -
fpc-pascal at lists.freepascal.org [1]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal [2]

[1] mailto:fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131006/ea0b6ee9/attachment.html>

More information about the fpc-pascal mailing list