Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Rugxulo
Hi,

On Wed, Feb 7, 2018 at 11:28 AM, Matej Horvat
 wrote:
> On Wed, 07 Feb 2018 17:12:56 +0100, Rugxulo  wrote:
>
>> BTW, what Allegro are you using? Stock 4.2.2? Raine dude's patched
>> version? Other?
>
> How does this patched version differ from the original, and why not use
> 4.2.3.1, which is the last (official, anyway) release for DOS?

I don't know (or don't remember). Honestly, I'm not sure Allegro was
well-maintained for DOS in its later years. IIRC, at first it was only
broken build scripts that prevented support, but later on they changed
too much and relied too heavily on other things (OpenGL, et al).

> I had no difficulty compiling it with DJGPP nor Open Watcom - for the latter, 
> see:
>
> http://matejhorvat.si/en/dos/allegwat/

I did once or twice (years ago) build with OpenWatcom, but it was more
of a curiosity than anything directly useful to me:

https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/allegro/contrib/watcom.txt

And yes, even the OpenWatcom version needs some DJGPP tools to build.
Not sure why DJGPP's Make would crash on you, though.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Rugxulo
Hi,

On Wed, Feb 7, 2018 at 11:28 AM, Matej Horvat
 wrote:
>
> Georg's port has a couple of rough edges. It wastes power when idle (no INT
> 28h calls)

__dpmi_yield() would probably be best under DJGPP:

http://www.delorie.com/djgpp/doc/libc/libc_279.html

> and for me it always crashed when opening file choice dialogs (but not in 
> NTVDM).

Just a guess, but try unsetting %LANG% first ("set LANG=") before running.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Mark Olesen
Again, this is a fork of FLTK to native DOS. Georg's port emulates a window
manager such as Windows or X11. It does not contain native FLTK drivers for
DOS.

On Wed, Feb 7, 2018 at 10:35 AM, Mateusz Viste 
wrote:

> On Wed, 07 Feb 2018 18:28:12 +0100, Matej Horvat wrote:
> > Georg's port has a couple of rough edges. It wastes power when idle (no
> > INT 28h calls) and for me it always crashed when opening file choice
> > dialogs (but not in NTVDM). Open Watcom support would be welcome as
> > well.
>
> On the other hand, it might be easier/faster/more efficient to patch
> Georg's port instead of reinventing it from scratch. Anyway, I'm not
> criticizing, just pointing out that the effort has been done already.
> ultimately, the more the merrier I guess.
>
> Mateusz
> --
> FreeDOS is present on the USENET, too! alt.os.free-dos
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Mark Olesen
I built the demo using stock allegro-4.2.3.1 from the following repo

https://github.com/liballeg/allegro5/releases/download/v4-2-3-1/all4231.zip

I have no idea what the differences are from 4.2.2 and 4.2.3. DJGPP
provides a 4.2.2 and it may be worthwhile to try and build with it.

On Wed, Feb 7, 2018 at 9:12 AM, Rugxulo  wrote:

> Hi,
>
> On Wed, Feb 7, 2018 at 12:54 AM, Mark Olesen 
> wrote:
> >
> > I am working on a project forking FLTK to run on FreeDOS.
> >
> > It is a work in progress but is coming around nicely.
>
> Looks good!
>
> BTW, what Allegro are you using? Stock 4.2.2? Raine dude's patched
> version? Other?
>
> * https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/
> devel/libs/allegro/contrib/
> * http://www.bttr-software.de/forum/board_entry.php?id=14983#p14983
>
> I'm not really super familiar with Allegro, just (barely!) toyed with
> it a few times (not lately). I think some few DOS-based Doom ports
> still try to use old 3.x, ugh!
>
> * http://www.vogons.org/viewtopic.php?f=24&t=40857
>
> Also, neozeed has been mucking with an ancient GCC for his Doom builds
> using older Allegro.
>
> * https://virtuallyfun.com/
> * https://sourceforge.net/projects/crossdjgppv1/
>
> (It's always annoying how hard it is to reliably rebuild stuff. Some
> times it just seriously won't work, even if the compile+link
> succeeds.)
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Mark Olesen
This is a native port of FLTK to DOS. It does not require
microwindows/nano-x. The feature set is what FLTK provides, a simple GUI
toolkit.

On Wed, Feb 7, 2018 at 12:36 AM, Mateusz Viste 
wrote:

> On Tue, 06 Feb 2018 23:54:32 -0700, Mark Olesen wrote:
> > I am working on a project forking FLTK to run on FreeDOS.
> >
> > The github page is:
> > https://github.com/markjolesen/fltkal
>
> Georg did it a couple of years ago.
>
> https://sourceforge.net/projects/fltk-dos/
>
> Will your port have some other goals? Different feature-set? Just curious.
>
> Mateusz
> --
> FreeDOS is present on the USENET, too! alt.os.free-dos
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Mateusz Viste
On Wed, 07 Feb 2018 18:28:12 +0100, Matej Horvat wrote:
> Georg's port has a couple of rough edges. It wastes power when idle (no
> INT 28h calls) and for me it always crashed when opening file choice
> dialogs (but not in NTVDM). Open Watcom support would be welcome as
> well.

On the other hand, it might be easier/faster/more efficient to patch 
Georg's port instead of reinventing it from scratch. Anyway, I'm not 
criticizing, just pointing out that the effort has been done already. 
ultimately, the more the merrier I guess.

Mateusz
-- 
FreeDOS is present on the USENET, too! alt.os.free-dos


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Matej Horvat

On Wed, 07 Feb 2018 17:12:56 +0100, Rugxulo  wrote:


BTW, what Allegro are you using? Stock 4.2.2? Raine dude's patched
version? Other?


How does this patched version differ from the original, and why not use  
4.2.3.1, which is the last (official, anyway) release for DOS?


I had no difficulty compiling it with DJGPP nor Open Watcom - for the  
latter, see:


http://matejhorvat.si/en/dos/allegwat/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Matej Horvat
On Wed, 07 Feb 2018 08:36:00 +0100, Mateusz Viste  
 wrote:



On Tue, 06 Feb 2018 23:54:32 -0700, Mark Olesen wrote:

I am working on a project forking FLTK to run on FreeDOS.

The github page is:
https://github.com/markjolesen/fltkal


Georg did it a couple of years ago.

https://sourceforge.net/projects/fltk-dos/


Georg's port has a couple of rough edges. It wastes power when idle (no  
INT 28h calls) and for me it always crashed when opening file choice  
dialogs (but not in NTVDM). Open Watcom support would be welcome as well.


These are just my suggestions how this port could differentiate itself.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-07 Thread Rugxulo
Hi,

On Wed, Feb 7, 2018 at 12:54 AM, Mark Olesen  wrote:
>
> I am working on a project forking FLTK to run on FreeDOS.
>
> It is a work in progress but is coming around nicely.

Looks good!

BTW, what Allegro are you using? Stock 4.2.2? Raine dude's patched
version? Other?

* 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/allegro/contrib/
* http://www.bttr-software.de/forum/board_entry.php?id=14983#p14983

I'm not really super familiar with Allegro, just (barely!) toyed with
it a few times (not lately). I think some few DOS-based Doom ports
still try to use old 3.x, ugh!

* http://www.vogons.org/viewtopic.php?f=24&t=40857

Also, neozeed has been mucking with an ancient GCC for his Doom builds
using older Allegro.

* https://virtuallyfun.com/
* https://sourceforge.net/projects/crossdjgppv1/

(It's always annoying how hard it is to reliably rebuild stuff. Some
times it just seriously won't work, even if the compile+link
succeeds.)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-06 Thread Mateusz Viste
On Tue, 06 Feb 2018 23:54:32 -0700, Mark Olesen wrote:
> I am working on a project forking FLTK to run on FreeDOS.
> 
> The github page is:
> https://github.com/markjolesen/fltkal

Georg did it a couple of years ago.

https://sourceforge.net/projects/fltk-dos/

Will your port have some other goals? Different feature-set? Just curious.

Mateusz
-- 
FreeDOS is present on the USENET, too! alt.os.free-dos


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] fltkal a DOS fork of FLTK using Allegro and DJGPP

2018-02-06 Thread Mark Olesen
I am working on a project forking FLTK to run on FreeDOS.

The github page is:

https://github.com/markjolesen/fltkal

A sample (lame) demo can be found here:

https://youtu.be/FpA-R-ko_z4

It is a work in progress but is coming around nicely.

Comments and suggestions are welcome.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel