delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/01/08/21:45:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <do_not_have AT nohavenot DOT cmm>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: TRYING TO MAKE EXE RUN ON FRIENDS MACHINE
Date: Thu, 8 Jan 2009 21:36:15 -0500
Organization: TornevallNET - http://news.tornevall.net
Lines: 105
Message-ID: <gk6cuo$qor$1@news.tornevall.net>
References: <cc2668db-926c-41e1-9836-5a42a1210ed6 AT s9g2000prg DOT googlegroups DOT com> <uwsdcmjo7 DOT fsf AT gnu DOT org> <5fb78e93-bed6-46d9-85c8-a838e35b3d22 AT r36g2000prf DOT googlegroups DOT com> <uprj4mbv6 DOT fsf AT gnu DOT org> <9941ccce-87a6-4ace-9f78-9b15710643bd AT x8g2000yqk DOT googlegroups DOT com> <gjve0m$2rt$1 AT news DOT tornevall DOT net> <4563e62e-7382-4c6a-b986-d4c8a8ff9d47 AT i18g2000prf DOT googlegroups DOT com> <0541cc98-689c-4e6c-ae02-d6f5a1b4a9cb AT l37g2000vba DOT googlegroups DOT com> <gk54mb$i0$1 AT news DOT tornevall DOT net> <886d17b9-399f-48ed-ac4d-45ca11d3879f AT s20g2000yqh DOT googlegroups DOT com> <gk5qld$euh$1 AT news DOT tornevall DOT net> <d0ac44e3-772a-44f7-9528-2d6f3f6f1a2c AT h20g2000yqn DOT googlegroups DOT com>
NNTP-Posting-Host: 165960cb85562bbeab2e679fb727d04b
X-Trace: aa656494998fb71994837ed8873bcd55
X-Complaints-To: abuse AT tornevall DOT net
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE!
X-Newsreader: Microsoft Outlook Express 6.00.2800.1933
X-Validate-Post: http://news.tornevall.net/validate.php?trace=aa656494998fb71994837ed8873bcd55
X-SpeedUI: 1505
X-Complaints-Italiano: Parlo la lingua non è italiano
X-Posting-User: c1d3d0c1b6b92a0da8bd6a8e58acbe20
X-Priority: 3
X-MSMail-Priority: Normal
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:d0ac44e3-772a-44f7-9528-2d6f3f6f1a2c AT h20g2000yqn DOT googlegroups DOT com...
>
> I don't know what changes between releases of Binutils.

From what I could tell, not much.

> I would just use stock DJGPP srcs if
> I were you.

Next attempt...

FYI, the code for MOSS falls under a bazillion licenses.  If one removes the
FreeBSD directories - assuming they aren't needed - there are like four or
five or seven licenses.  The reason I mention that is that it chops up the
application into many small little files.  I reduced it down to just those
which license the primary parts of the DOS extender, those licensed by
Ford's software company. I was hoping that since MOSS was small, that those
files were all that were really needed.  Then, I started backfilling in the
missing pieces.  51 files and counting....  No luck on the low file count.
My OS has nearly everything he uses, but it's all in a single file.  One.
Since the code pieces are under different licenses, the puzzle pieces can't
be merged together in a coherent manner.  I haven't decided whether I'm
going to continue the way I'm going, scrap it, or attempt to figure out how
to compile it "properly"...  so I can ignore the stuff that's not needed.
:-)  I haven't figured out the correct order that a few files with the same
names are referenced due to the "#include_next" preprocessor directive.  I
figured out a few from the code.  Otherwise, it looks like it has everything
needed for a complete DPMI host and/or DOS extender.

> Recompiling MOSS.EXE doesn't give you any examples, so in order to
> test it, I had to find a way to build.

If you manage to recompile moss.exe, let me know.  I tried out the IW
application.  Under Win98SE, it "threw a wrench" at my monitor...  It
switched to some mode that wouldn't display.  After a reboot, I manually set
my monitor to the lowest setting - which allowed it to switch properly, it
would run, halt, run, halt.  It ran on DOS nicely.  I'm not sure how well it
would've run on my old 500Mhz machine though.

> I understand all that, just don't know what you're experiencing.

The text is fine.  The text alignment is incorrect - due to the missing
carriage return.  Are you familiar with unix2dos or dos2unix utilities?
What unix2dos does for text files must be done for text output by the C
compiler so the text is correct for DOS.  I can't fully demonstrate because
of the NG line wrap.  But, if the decompressor's normal text screen looks
like this, with a's being the screen width:

aaaaaaaaaaaa
Normal
Text
Is
Aligned
Left

This is what it is looks like with the improper EOL:

aaaaaaaaaaaaaa
Normal
            Text
                   Is
                      A
ligned
         Left

It moves down a line, continues, wraps at 80.

> It works in DOSBox,

If it's correctly emulating DOS, then the text should be shifted like the
lower picture...  ;-)

> > >http://www.brynosaurus.com/
> >
> > I didn't realize he worked on vx32 also... I've read the papers and
looked
> > it over a few times. It, like many other open projects, has some
features I
> > like, but it isn't as developed as much as I'd like or going in the
> > direction I'd like. In the case of vx32, they just do binary translation
to
> > implement their sandbox. But, with more development, vx32 could be used
as
> > an x86 emulator, possibly with much better performance than others.
>
> It claims security, fast speed

"fast speed"  It's the first paper(s) I've read where I actually believed
the speed of emulation claims might be correct...  I'm still debating.  Most
are total BS.

> Yeah, I didn't know you were cross posting until I saw that. Fitting
> to cross post for a cross compiler.    ;-)

I thought one of the programmers there might've been interested in a DOS
project.  ;-)  Actually, considering they fully implemented a game like that
in '96, I'd think a few people would be jumping at this.  '87 Arcade quality
2D when PC's were just getting decent video cards, and low quality 3D DOOM.
It's too bad the source for the game isn't available.


RP


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019