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

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: TRYING TO MAKE EXE RUN ON FRIENDS MACHINE
Date: Thu, 8 Jan 2009 12:16:02 -0800 (PST)
Organization: http://groups.google.com
Lines: 118
Message-ID: <886d17b9-399f-48ed-ac4d-45ca11d3879f@s20g2000yqh.googlegroups.com>
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>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1231445763 14077 127.0.0.1 (8 Jan 2009 20:16:03 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 8 Jan 2009 20:16:03 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: s20g2000yqh.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id n08KU5hQ025419
Reply-To: djgpp AT delorie DOT com

Hi,

On Jan 8, 9:09 am, "Rod Pemberton" <do_not_h DOT  DOT  DOT  AT nohavenot DOT cmm> wrote:
> "Rugxulo" <rugx DOT  DOT  DOT  AT gmail DOT com> wrote in message
>
> news:0541cc98-689c-4e6c-ae02-d6f5a1b4a9cb AT l37g2000vba DOT googlegroups DOT com...
>
> > Please tell me your thoughts!      :-)
>
> Glad to hear it works!  I'll try the a.out you created after I get some
> food.  I had one in-progress big post to the 2/2...  No point now.  Maybe
> later on today or tomorrow..., I'll try to recreate what you did and see
> were that leads me.  

The only problem I had is due to inexperience: I don't know how to
organize the actual compiler install to correctly work without -I and -
L hacks (i.e. I didn't want to make a C:\USR\LOCAL dir just to hope
it'd work). I mean, I'm wondering can you install it similar to a
default DJGPP install (C:\DJGPP\BIN, LIB, INCLUDE, etc.) or do you
have to run it like "..\i386-moss\i386-moss-gcc" ?? I'm sure somebody
knows, they're probably just too lazy^H^H^H^H busy.    ;-)

Anyways, I could always just e-mail you the binaries I compiled
(although I'm unsure how to handle "giving you" the srcs, which I
didn't modify ... stupid low website disk space). Or you could just
use BasicLinux (be sure to put it in C:\BASLIN) with the old GCC 2.7.2
pre-compiled binaries from the FTP site. Heck, FreeDOS disk image +
BasicLinux + MOSS Linux GCC cross compiler is probably not a huge
download, even for dialup.

> If I can compile it, it should be easier to port or at
> least get the code to compile on newer versions.  I'm not saying I can get
> it working or anything, just that I'll look into it.

I know, no pressure. It was all your idea anyways. Only try to have
some fun with it.  ;-)

> > All the really talented guys are just too busy. So you're stuck with shrimps like me.    :-)
>
> Well, I may be asking you some questions about cross-compiling, how you
> setup your compile environment, etc...

You can ask, but I'm probably one of the last to know anything about
that.    :-))

> > http://rugxulo.googlepages.com/moss-7z.zip   (72k)
> >
> > That is Igor Pavlov's simple ANSI C 7-Zip decoder from LZMA SDK 4.63
> > (now "public domain") with srcs (in .7z, heh) and MOSS.EXE plus A.OUT
> > (ELF compilation) plus my own stupid MAKE.BAT. It doesn't seem to run
> > in Vista (surprise surprise) but DOSBox 0.72 works fine. FreeDOS
> > (under QEMU or VirtualBox) only likes it when using either no memory
> > managers or FDXMS (i.e. JEMM386 crashes, HIMEMX "can't disable A20").
>
> The MOSS version runs under MS-DOS v7.10, but has "'\n' -> '\r\n' issues."

I have no idea what that means. I'll have to test on some real DOS
boxes later today or so.

> Runs in Win98SE dosbox or console, but complains repeatedly about a memory
> allocation problem prior to running with CRLF issues...  (Thanks putting a
> .7z file in the zip, BTW.)

It might need a .PIF or even EMS (see below), but that's only based on
what I read about the following app:

P.S. Just to keep this going, here's some more info (useful and fun,
what a concept!):

I found an actual example using MOSS, and it's by the same guy (Bryan
Ford):   Inner Worlds (now freeware)

http://www.sleepless.com/iw/
http://www.mobygames.com/game/dos/inner-worlds
http://www.dosbox.com/comp_list.php?showID=2493&letter=I
http://www.dosgames.com/g_side3.php

It's fairly big for a DOS game (20 MB once installed, same size as
BasicLinux, heh), most of that is data anyways, but it's pretty cool
(to say the least). The funny part is that the custom installer uses
MOSS, the SETUP and README progs use MOSS, and so does the actual game
itself (IW.EXE), which is 17 MB with all data and extender bound to
itself. Now that's a whopper!    ;-)

total 17207
-rw-r--r--    1 Rugxulo  dos         72964 Jan  8 02:42 iw-m1.sav
-rw-r--r--    1 Rugxulo  dos         98276 Jan  8 03:21 iw-m2.sav
-rw-r--r--    1 Rugxulo  dos           310 Jan  7 21:59 iw.cfg
-rwxr-xr-x    1 Rugxulo  dos      17150464 Jan  7 21:58 iw.exe
-rwxr-xr-x    1 Rugxulo  dos          2623 Jan  7 21:58 iw.icl
-rw-r--r--    1 Rugxulo  dos          5540 Jan  8 03:21 iw.sav
-rw-r--r--    1 Rugxulo  dos          1645 Jan  7 21:58 order.txt
-rwxr-xr-x    1 Rugxulo  dos        133120 Jan  7 21:58 readme.exe
-rw-r--r--    1 Rugxulo  dos         19778 Jan  7 21:58 readme.txt
-rwxr-xr-x    1 Rugxulo  dos        133120 Jan  7 21:58 setup.exe

It actually reminds me of _Shadow of the Beast_ for Atari Lynx. It's
dated from 1996, needs 486 + VGA + 8 MB RAM (e.g. DOSBox 0.72 works
fine on my machine). I should test on real hardware (luckily I have a
486 !), but I'm skeptical that it may want an FPU (doh). Why else
require a 486, bswap?? (heh)

Here's some more (vaguely related) links that may also prove
interesting:

http://en.wikipedia.org/wiki/Mach_kernel#The_Next_Generation
http://pdos.csail.mit.edu/~baford/vm/
http://www.brynosaurus.com/

Hope this helps! And don't forget to have fun!     :-)

P.P.S. Sébastien, you cross-posted to the wrong group!    :-P

- Raw text -


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