X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: /beta/bnu217b.zip won't work in pure DOS (UPX bug??) Date: Fri, 28 Mar 2008 14:00:19 -0700 (PDT) Organization: http://groups.google.com Lines: 40 Message-ID: References: <399e419e-7325-4a50-91c1-09d15037dc7b AT a22g2000hsc DOT googlegroups DOT com> <47ecaff9$0$4851$9b4e6d93 AT newsspool4 DOT arcor-online DOT net> <4f07ca13-4bb0-4e50-9b59-e5017757b0a6 AT l42g2000hsc DOT googlegroups DOT com> <47ed5839$0$4849$9b4e6d93 AT newsspool4 DOT arcor-online DOT net> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1206738020 24917 127.0.0.1 (28 Mar 2008 21:00:20 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 28 Mar 2008 21:00:20 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: 8g2000hse.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 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Mar 28, 3:42 pm, Robert Riebisch wrote: > Rugxulo wrote: > > it makes it harder to compile some things (e.g. latest NASM). I think > > I'll stick with GCC 3.44, though, because newer ones seem to use a lot > > more memory (with -O2). Besides, some old code won't easily compile > > with 4.x. > > That's why I have a multi-version GCC on Windows 2000. ;-) Yes, I killed > Ubuntu. What for? I thought you liked it, and it worked well? What went wrong? > > [ MS-DOS ] Wed 03-12-2008>memid > > PMODE VCPI 1.0 EMS 4.0 XMS 3.0 > > Did you try a clean boot? Yes. No difference. > > [ MS-DOS ] Wed 03-12-2008>as --version > > Invalid Opcode at eip=7fcaa; flags=3206 > > eax=00000001 ebx=00001000 ecx=00000006 edx=00000006 esi=00123248 > > edi=00000001 > > ebp=00123288 esp=00123230 cs=a7 ds=af es=af fs=8f gs=0 ss=af > > error=0006 > > Does UPX use SSE? *g*http://www.delorie.com/djgpp/bugs/show.cgi?000372 I don't think so, but that would explain why it works in QEMU/Win32 (which supports SSE) and not DOSBox (486DX only). AFAICT, the only way for GCC to use SSE is either through -msse, -mfpmath=sse, or maybe? with -march=native. I can't test right now, but HDPMI32 automatically turns on SSE support if available, so you could try running that first then "as.exe --version" on your Pentium M, and see what happens. ;-) LZMA has been supported in UPX since 2.90 (according to their NEWS file). And yet /current/ was packed with 2.93 "unstable" and works yet /beta/ with 3.01 "stable" doesn't. Odd. I have no idea.