Re: [Freedos-user] Makehtml v0.0.1

2013-06-02 Thread Bojan Popovic
Don't get discouraged by previous comments. Especially if you're not an
experienced programmer. Only way to sharpen or develop your skills is
by practice. But in one thing they are right: you announced it too
early. After some practice, learning and trying out what would work
the best, you might've got something more complete.

I tend to think about Sourceforge as a place to put stuff that already
works on some level. There are already too much unfinished beginner
projects.

Btw, discount - a C implementation of Markdown, compiles nicely with
DJGPP (with maybe some tiny changes). It's very similar to what you're
trying to do.

Bojan.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Bojan Popovic
Thanx Mateusz. :) I didn't play the original, but I remember playing
DOS version/clone in the nineties. Ah, nostalgia... :)

 I already tested. It already works there but needs MSVCRT (e.g. from
 ReactOS 0.3.14; not newer 0.3.15, that won't work). You can avoid that
 by building with OpenWatcom (untested but used to work, supposedly):
 http://www.libsdl.org/release/SDL-1.2.15/README.Watcom

 Though I have no idea if the other .DLLs need to be rebuilt also
 (libpng, zlib), but probably yes. Also, no idea if Atomiks is using
 any features that OpenWatcom doesn't support (i.e. GNU extensions or
 certain parts of C99, which aren't working even with -za99).

 I should really try rebuilding it myself, but right now I'm a bit
 tired.   :-/


Yes, OpenWatcom probably doesn't use Microsoft VC runtime library. Same
as MinGW in recent years. There are also other crt implementations
that might be used in VC. For example mini-crt: 
http://www.benshoof.org/blog/minicrt/


Bojan.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread dos386
 OpenWatcom probably doesn't use Microsoft VC runtime library

well known fact

 Same as MinGW in recent years

evidence please ;-)

 It does not run on DOS

WRONG. It DOES run. See shot: http://s8.postimg.org/8oq1qirb9/ATOMSHDS.png

 only Linux  Windows (and should build on any modern platform where SDL is

I deprecate modern platforms :-(

 This doesn't have much in common with FreeDOS

more than you think ? ;-)

 Today I published

Thanks :-)

 a remake of the old 1990 Atomix game for DOS
 (that's one of the games I spent entire nights on in my youth

Do you have the original? How bloated is it?

 I used all graphics from the original (with the specific
 authorization of Atomix copyright holders for usage in my project

Interesting ...

 I'm sorry if you feel this is spamming.

It is not (thanks to HX ...) :shock:

BUG's / suggestions:

* keyboard is buggy ... it buffers too much and the red square notoriously
  runs beyond target position ... disable buffering or eat away and discard
  keypresses until buffer is empty before waiting for a new keypress

* it's bloated (100 x more than the original ?) ... some ideas to reduce bloat:
* * optimize the PNG's (brewn with M$-PAINT???) by factor 2 lossless or even
more (reduce black text on white screen from 8bpp to 4 bpp, loss will be
invisible) using PNGOUT or ZOPFLI-OPTI-PNG (gives 70 KiB)
* * drop the PNG's in favor of raw compressed pixel arrays on a common palette
and drop LIBPNG then
* * reduce the WAV's from 44.1 KHz and 16 bit to 22.05 KHz and 8 bit
(loss will be inaudible)
* * use a smaller MOD library
* * include some simple Deflate decompress code and drop ZLIB

The good news is that it's open source (is the original from 1990 also open
source???), the bad news that it's bloated (but that's fixable ... theoretically
... how bloated is the original???). Maybe I'll port it to my OS one day :-)

There are reasons why I deprecate modern platforms.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Eric Auer

Hi, so Atomiks runs in DOS with HX?

 * keyboard is buggy ... it buffers too much and the red square notoriously
   runs beyond target position ... disable buffering or eat away and discard
   keypresses until buffer is empty before waiting for a new keypress

Does it work better with Atomiks in other OS?

PNG is supposed to compress things already, a smaller
palette should not make a big difference. Try GIF?

WAV sound better at 44 kHz 16 bit than at 22 kHz 8 bit,
but when used in MOD, other quality loss might mask it.
You could use OGG and decompress to RAM... (evil grin)

 * * include some simple Deflate decompress code and drop ZLIB

How big is zlib? How about tunz?

Eric



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread dos386
 Atomiks runs in DOS with HX?

YES ... why don't you test? Got no DOS (evil grin) ?

  * keyboard is buggy ... it buffers too much
 Does it work better with Atomiks in other OS?

NO. Same BUG with XP and HX ... NOT a HX BUG :-)

(HX bugs are bunched elsewhere: bttr-software.de/forum/board_entry.php?id=7492)

 PNG is supposed to compress things already

but the existing PNG's inside ATOM are poorly compressed and
have junk CHUNK's (even PHYS !!!)

 a smaller palette should not make a big difference

It does. And you could have 1 palette for the complete app,
rather than a separate (same or de-facto same) palette in every PNG file.

 Try GIF?

No: I DEPRECATE GIF ;-)

 WAV sound better at 44 kHz 16 bit than at 22 kHz 8 bit

The WAV's are  400 ms ... not hours of HiFi music ... you
won't hear the difference (we badly need a double-blind test ...)

 You could use OGG and decompress to RAM... (evil

Not worth for that little amount of sound (you might Deflate
them ... if it helps ... or DELTA-filter before Deflate)

  * * include some simple Deflate decompress code and drop ZLIB
 How big is zlib?

100 KiB (RTFB)

 How about tunz?

2.5 KiB but 8086 ASM, not C ;-)

 I already tested. It already works there but needs MSVCRT (e.g. from
 ReactOS 0.3.14; not newer 0.3.15, that won't work)

In what function does it crash? Does it crash with every executable?

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] xfdos.

2013-06-02 Thread kurt godel
The good news: this is one neat production; especially for it's small size.
I really appreciate it's built in abilty,with drivers to set up the NIC
card.

The bad news: although my usb mouse works perfectly with xfdos overall, the
fun starts in dillio. Sometimes it works, but sometimes(especially after
rebooting) the message bar says
  can't resolve dns if I ping that address, the ping freezes. This also
happens with the built in items on the left(wikipedia et al); sometimes,
however, the mouse freezes, but the browser
attempts to go to the page(address in the upper bar), but freezes there,
along with the mouse. I suspect the mouse-function is not broken, but that
it normally gets blanked by fltk as
the windows are changing.
   Curiously, if I search for www.google.de as the default, it works; but
if I change it to www.google.com, it either can't resolve or freezes like
above.
does using the ping store a resolved dns? But even if it does the thing
is still erratic in any case. Any ideas on this?.
--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Rugxulo
Hi,

On Sun, Jun 2, 2013 at 11:08 AM, dos386 dos...@gmail.com wrote:

  * * include some simple Deflate decompress code and drop ZLIB
 How big is zlib?

 100 KiB (RTFB)

I have several zlib .DLLs on my system. Largest is here, 100 kb, while
smallest is 55 kb. So it varies.

Though, quite honestly, if all the graphics and sound data is inside
the .EXE anyways, it doesn't make (much) sense to compress it with
Deflate. You can use UPX (which can have some small drawbacks under
Windows, but that shouldn't matter for a game that is only running
once).

 How about tunz?

 2.5 KiB but 8086 ASM, not C ;-)

I assume here that he actually meant something like tinf:


tinf is a small library implementing the decompression algorithm for
the deflate compressed data format (called 'inflate'). Deflate
compression is used in e.g. zlib, gzip, zip and png. Source included.


http://ibsensoftware.com/download.html

 I already tested. It already works there but needs MSVCRT (e.g. from
 ReactOS 0.3.14; not newer 0.3.15, that won't work)

 In what function does it crash? Does it crash with every executable?

I think just overall it crashes, not inside any function. (And yes,
all the .EXEs I tried crashed, sadly.) If you want, I'll post a text
capture over on BTTR, but I don't think Japheth is interested in
fixing it, so it's not worth worrying about, IMHO.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Rugxulo
Hi again,

On Sun, Jun 2, 2013 at 9:40 AM, dos386 dos...@gmail.com wrote:

 * * reduce the WAV's from 44.1 KHz and 16 bit to 22.05 KHz and 8 bit
 (loss will be inaudible)
 * * use a smaller MOD library

BTW, not sure if you knew, but the original 1.0 release of his port
didn't have any sound support. This is a new addition (1.02).

 There are reasons why I deprecate modern platforms.

Yes, modern is annoyingly overused. If they didn't throw out even
their own stuff from 3-5 years ago, they might have more credibility.
(Also they break more than they improve.)

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] xfdos.

2013-06-02 Thread Georg Potthast
Hello Kurt,

thank you for testing XFDOS. What I observed now is that if you run ping
or tcpinfo before starting Dillo there are problems. I do not know yet what
causes this.

One user of Dillo reported that you should erase the W32DHCP.TMP file to
avoid network hangs and I think the problem has to do with this file that is
made by the WATTCP driver.

Georg 


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Bojan Popovic
On Sun, 2 Jun 2013 14:40:43 +
dos386 dos...@gmail.com wrote:

  Same as MinGW in recent years
 
 evidence please ;-)


But I might not be completely wrong. It seems they ship two crts:
http://www.cs.colorado.edu/~main/cs1300/doc/mingwfaq.html#runtimelibraries

Bojan.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Atomiks - retro remake of Atomix

2013-06-02 Thread Bojan Popovic
On Sun, 2 Jun 2013 14:40:43 +
dos386 dos...@gmail.com wrote:

  Same as MinGW in recent years
 
 evidence please ;-)
 

Errr... You are right. My bad. I tought they use their own runtime for
last year or two, but: 

It does depend on a number of DLLs provided by Microsoft themselves,
as components of the operating system; most notable among these is
MSVCRT.DLL, the Microsoft C runtime library.

http://www.mingw.org/ (dated: 2012/05/25).

Sorry for disinfo. :)

Bojan.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Makehtml v0.0.1

2013-06-02 Thread Chris Evans
Ill impove on my code review skills, so immature ideas don't get posted



On Sunday, June 2, 2013, Bojan Popovic wrote:

 Don't get discouraged by previous comments. Especially if you're not an
 experienced programmer. Only way to sharpen or develop your skills is
 by practice. But in one thing they are right: you announced it too
 early. After some practice, learning and trying out what would work
 the best, you might've got something more complete.

 I tend to think about Sourceforge as a place to put stuff that already
 works on some level. There are already too much unfinished beginner
 projects.

 Btw, discount - a C implementation of Markdown, compiles nicely with
 DJGPP (with maybe some tiny changes). It's very similar to what you're
 trying to do.

 Bojan.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net javascript:;
 https://lists.sourceforge.net/lists/listinfo/freedos-user

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user