[fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)
Michal Wallace
michal.wallace at gmail.com
Tue Oct 8 13:07:44 CEST 2013
On Oct 5, 2013 2:34 PM, "Philippe" <philippe at quarta.com.br> wrote:
> Problem!(?) ... I was using window, gotoxy and so on ... and I donĀ“t find
anything similar with video unit!
I don't know if this would be useful to you, but I've been working on a
modernized CRT for some time:
- https://github.com/tangentstorm/xpl/blob/master/code/kvm.pas
- http://tangentstorm.github.io/xpl/kvm.pas.html ( literate programming
style tour of the code )
These support unicode output, 256 foreground and background colors, and
(eventually) italics, bold, etc.
They don't work with the video unit or the normal windows console, because
neither provide the above features.
However, I also have implementations for SDL and ZenGL here:
- https://github.com/sabren/b4/blob/master/ng/rxgl_sdl.pas
- https://github.com/sabren/b4/blob/master/ng/rxgl_zen.pas
- https://github.com/sabren/b4/blob/master/ng/rt_term.pas
These allow mixing console text with vector graphics powered by aggpas.
Looks like I haven't declared that they implement the kvm interfaces yet,
but they should be very similar.
All of this is MIT-licensed so feel free to do whatever with it.
-Michal
http://tangentstorm.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131008/dd74a8c0/attachment.html>
More information about the fpc-pascal
mailing list