Reply
Thread Tools
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#1
... crashing on the 770.

I noticed the configure set the FPU #define to 1, so i pulled that out

I also had to build libSDL_net, but i ended up pulling that out.

I'm running the most minimal dosbox.conf i can think of (all options disabled, no scaling, simple cpu emulation)

Comparing strace results, the only difference i've seen so far is that the scratchbox-armel environment calls old_mmap from libc and dosbox calls mmap2.

mmap2(NULL, 16781312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40555000
+++ killed by SIGKILL +++
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#2
Fixed it in dosbox.conf

dosbox now running on Nokia 770!




Last edited by ArnimS; 2007-04-08 at 06:32.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#3
Nice hack. But is it actually usable ? Fast enough ?
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#4
Originally Posted by ArnimS View Post
Fixed it in dosbox.conf

dosbox now running on Nokia 770!

So, does that mean I can fire up WordPerfect 6.0? And Quattro Pro?
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#5
so far, any 8088/8086 compatible program has run flawlessly

main problem right now is emulating a PC with more than 2MB of memory

secondary problem is that so far, the tested 80286 code is running unbelievably slow - maybe 20x slower than it 'should'.

Last edited by ArnimS; 2007-04-07 at 01:51.
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#6
Wow! there use to be an incredibly useful window environment that ran in DOS on 8086/88 machines...

It was called GeoWorks or somesuch... I wonder if this could work.
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#7
Spent a few more hours building dosboxes and tweaking dosbox.conf.

Nothing i've tried can get dosbox 0.70 running anywhere close to the speed of the fastest build of 0.65. It's like 4 fps vs 16 fps in simple ega games, and the sound stutters awfully. This really requires an arm + gdb guru to profile and optimize.

However, Ultima IV looks gorgeous with advmame2x scaling , and it runs about as fast as it did on my old IBM PC. Reducing the buffer size of the pc speaker fixed the sound lag. (edit) see the Xu4 thread in Gaming section.

Also requires a keyboard, obviously. The touchscreen keyboard hasn't been implemented.

Lastly, even though i am disabling networking in the config.h, SDL_net is hardcoded into makefiles and includes, so the binary isn't standalone executeable on a 770/800 yet.

If any code warriors out there want to look at this, i can share my config.h SDL_net and and dosbox.conf.

(edit) The benchmark program MIPS 1.10 reports my current best build of DOSBox 0.65 running at the exact same average speed as an IBM PC/AT 8086 8Mhz. I'd be curious to hear how the n800 fares.

MIPS download here: ftp://ftp.simtel.net/pub/simtelnet/m...sinfo/mips.zip

Last edited by ArnimS; 2007-04-07 at 07:30.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#8
Originally Posted by YoDude View Post
Wow! there use to be an incredibly useful window environment that ran in DOS on 8086/88 machines...

It was called GeoWorks or somesuch... I wonder if this could work.
Yep. Geoworks Ensemble. Still have the box.

It was a very fast (even on an XT!), though incredibly closed environment: Nothing but the programs that came with it would run on it natively, although a later version came with a tweaked Quattro Pro that ran in its DOSbox.

That would actually be rather funny: Running Quattro Pro in a DOSbox in Geoworks Ensemble running in a DOSbox on a Linux Numpc.

Maybe DesqView would be a better option for a windowing environment in DOS, boxed or not.
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#9
Originally Posted by Karel Jansens View Post
Yep. Geoworks Ensemble. Still have the box.

It was a very fast (even on an XT!), though incredibly closed environment: Nothing but the programs that came with it would run on it natively, although a later version came with a tweaked Quattro Pro that ran in its DOSbox.

That would actually be rather funny: Running Quattro Pro in a DOSbox in Geoworks Ensemble running in a DOSbox on a Linux Numpc.

Maybe DesqView would be a better option for a windowing environment in DOS, boxed or not.

Yup. At the time I thought it was a pretty elegant way to multitask on a 8088. Of course you could only use their native apps and only a few third party apps like QP and AOL's front end. Certainly enough to make a tablet functional off line.

After my post I did a search and found this >> http://en.wikipedia.org/wiki/GeoWorks

It apears Nokia also thought the same way at one point...

GEOS was used in a low-end laptop from Brother Industries and in the Nokia Communicator (GEOS V3.0 in Nokia Communicator 9000 and 9110).
 
Posts: 62 | Thanked: 1 time | Joined on Dec 2005
#10
ArnimS,

I just wanted to say "Thank you!" for all your work in porting/hacking UAE, POSE and DOSBox! There is such a dearth of productivity applications for the 770/800, and I'm hoping this will somehow open up the floodgates.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:19.