dosbox breaks with MIPSpro, works with gcc
#11
RE: dosbox breaks with MIPSpro, works with gcc
Fantastic work! I'll hopefully give this a try later this week. Wonder how it compares speed-wise to the GCC builds...

Indigo2 R10000/IMPACT  R10000 195MHz, 384MB RAM, MaxIMPACT (1MB), 36GB 15k & 300GB 10k drives, new/quiet fans, 100Mb G160 NIC, IRIX 6.5.22&
[Image: Fuelb.png] R14000 600MHz, 4GB RAM, V10 Graphics, 72GB 15k & 300GB 10k drives, new/quiet fans, 1Gb NIC, IRIX 6.5.30
O2  in storage...
Trippynet
Indigo2 IMPACT

Trade Count: (0)
Posts: 304
Threads: 7
Joined: Dec 2017
Find Reply
06-16-2019, 06:47 PM
#12
RE: dosbox breaks with MIPSpro, works with gcc
awesome work!
gijoe77
Tezro

Trade Count: (1)
Posts: 644
Threads: 34
Joined: Jun 2018
Find Reply
06-16-2019, 08:05 PM
#13
RE: dosbox breaks with MIPSpro, works with gcc
Hey dexter1,

I'm using stock nekoware SDL, and I'm getting the cdrom support error

Code:
o2 10%  /usr/nekoware/bin/dosbox
DOSBox version 0.74-2
Copyright 2002-2018 DOSBox Team, published under GNU GPL.
---
Exit to error: Can't init SDL SDL not built with cdrom support

o2 11%  /usr/nekoware/bin/dosbox --version

DOSBox version 0.74-2, copyright 2002-2018 DOSBox Team.

DOSBox is written by the DOSBox Team (See AUTHORS file))
DOSBox comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions;
please read the COPYING file thoroughly before doing so.

o2 12%


the dosbox-static works fine btw.  

I'm still unable to play warcraft2 with the mipspro version - I guess it might be good to keep both a gcc and mipspro version on hand to try different games/programs for compatibility purposes
(This post was last modified: 06-17-2019, 02:18 AM by gijoe77.)
gijoe77
Tezro

Trade Count: (1)
Posts: 644
Threads: 34
Joined: Jun 2018
Find Reply
06-17-2019, 02:16 AM
#14
RE: dosbox breaks with MIPSpro, works with gcc
(06-17-2019, 02:16 AM)gijoe77 Wrote:  Hey dexter1,

I'm using stock nekoware SDL, and I'm getting the cdrom support error
This is happening because the dummy CD-ROM driver in SDL is not enabled for IRIX systems due to a bug in the configure script. I've fixed that in my new neko_sdl package and, because ofthe dual mips3/mips4 support, i've also replaced all dependencies, so my stuff is not a drop in replacement for nekoware.
Which i why i made the static build in the first place.

Quote:I'm still unable to play warcraft2 with the mipspro version - I guess it might be good to keep both a gcc and mipspro version on hand to try different games/programs for compatibility purposes
Warcraft 2 is special in that it has a dedicated callback handler in src/cpu/callback.cpp . It is possible that MIPSPro has an alignment issue with some structs in a class which makes this callback not working for Warcraft 2.

I tried Warcraft 2 myself and both the demo and the normal game show this "Illegal callback called" behavior. To make myself feel a bit better about the MIPSPro port i tried to run Syndicate and that seems to work fine, albeit slow.

If this is easily debuggable i don't know. I have other work lined up, like neko_tk and the Indy network chip emulation in MAME so i won't get around to it soon.
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
06-23-2019, 07:53 AM
#15
RE: dosbox breaks with MIPSpro, works with gcc
all good dexter1, this is all for fun anyway!

some stuff works, some stuff kinda works - we accept this as "it is what it is" in our Irix community Smile
gijoe77
Tezro

Trade Count: (1)
Posts: 644
Threads: 34
Joined: Jun 2018
Find Reply
06-23-2019, 08:52 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)