maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   DOSBox 0.65 ... ftw (https://talk.maemo.org/showthread.php?t=5686)

LAGMonkey 2007-10-21 14:41

Re: DOSBox 0.65 ... ftw
 
ArnimS...

Now that OS2008 is out will you have to re-complie DOSBox to work with that? or will it just install without a problem?

Roc Ingersol 2007-11-09 14:01

Re: DOSBox 0.65 ... ftw
 
Alright... so I have dosbox.

I jumped through the hoops: downloaded, unpacked, moved, chmod'd, added ArnimS repository manually, got libsdl_net, red pill'd, got xkbd.

Then I dug out my old archives and copied the greatest PC game in the history of the world onto my device. (and then hunted around for the 1.4 patch, because apparently I didn't archive that. d'oh!)

Then I whittled my way through the dosbox conf settings, looking for what works and what doesn't.

And in the end, I was this close.
I nearly had XCom (zomg!) running acceptably on the n800 under dosbox.
(it's slow, but speed isn't that necessary for XCom - and I'm keeping my eye on the unlocked CPU speed with OS 2008)

But this mouse thing is killing me. The pointer doesn't follow the stylus properly. In my case the pointer winds up offset below and to the left. Further, whenever it passes over a clickable section of the game interface, it seems to 'stick' about half the time. (interface button stays depressed, pointer disappears altogether, no stylus movement does anything - except removing the stylus from the screen, which completes the 'click'.)

In short: does anyone have any sort of insight, fix or hack to sort out this mouse problem? For the love of all that's XCom - help me out guys.

Addison 2007-11-09 23:15

Re: DOSBox 0.65 ... ftw
 
Hey Roc!

I'm no programmer of any kind so this is the best advice I can give you at this time.

http://www.tabletpcbuzz.com/forum/to...TOPIC_ID=35786

I also have a question, but it's quiet pathetic on my behalf.

I've read the messages but I can't seem to put together each step needed to run Dosbox.

I have a n800 with default settings and no updates.

I'd really like to see if I can run Ancient Domain of Mystery (Nethack clone) on this tablet.

Any chance someone could quickly write up a step by step newbie guide on how to get Dosbox along with the touchscreen keyboard working properly?

I'm not expecting a response, but I do have my fingers crossed hoping someone can help a brother out on this.

Right now, all I've got is "X Terminal" installed but that's as far as I could get.

Thanks.

Roc Ingersol 2007-11-11 03:53

Re: DOSBox 0.65 ... ftw
 
Recalling from memory how it went, I apologize if I miss anything or if this isn't the level of detail you were looking for.

Fire up the application manger and add ArnimS' repository manually.
Application Manger->Tools->Application Catalog->New...
catalog name: pupnik-extras
web address: http://pupnik.de/
distribution: gregale/
(leave the components field blank)

Once that's added, it should ask to refresh the application list. Do that.

Switch over to Red Pill mode.

In red pill mode, you should see xkbd in the list of applications you can download and install. install it.

Go back to blue pill mode.

Grab ArnimS' dosbox .65 port from here,
sample dosbox.conf from here and libsdl_net from here

Unpack the dosbox tgz.
(the 'unzip' program in the maemo garage worked just fine - it may not look like it does anything, but it will unpack the archive and put the expanded files into a subdirectory)
While you're there, double-click the libsdl_net deb file. this should fire up the application manager and install the library.

Open dosbox.conf with notes (or some other text editor). In the [autoexec] section, add the following:
mount c /media/mmc2/games

That will make dosbox mount the directory 'games' on the internal memory card as the 'c' drive when you're in dos. you can switch that path to wherever you want to store your dos apps.
/media/mmc1 is the external card.
/home/user/MyDocs is the equivalent path to the root node in File Manager (the node that shows the name of your device).
(Also note some of the default directories names aren't identical from the console and through File Manger. E.g. 'games' in file manager is /home/user/MyDocs/.games
one dot, big difference.)

Pop open xterm and make a directory in /home/user called 'dos'.
(because the n800 won't run code off the memory card. standard unix syntax applies.
E.g. cd /home/user
mkdir dos

Copy the file 'dosbox' you got from the tgz archive and dosbox.conf to /home/user/dos
E.g. cp /home/user/MyDocs/dosbox /home/user/dos/dosbox

While in /home/user/dos do a chmod gou+rx dosbox to mark the app executable.

switch over to xterm and launch dosbox with xkbd via a command line like...
xkbd | /home/user/dos/dosbox -conf dosbox.conf
the keyboard should pop up and dosbox should be running.

you may also want to install osso-statusbar-cpu (not sure what repository its from). That'll add a resouce monitor to your system tray, and will let you kill processes. Handy if you 'lose' dosbox.
(dosbox doesn't show up on the running app list. If you switch away from it while it's running, I haven't found a way to switch back. So it's not visible, but it's still running. I don't know if there's a more graceful way to correct the situation, but my preferred method is to just click the statusbar-cpu icon and kill the dosbox process.)

Also, it's handy to have a seperate conf file for each app you try to run in dosbox, and to save those conf files somewhere you can get to them via the File Manager, so you can tweak settings more easily. For example, i have an xcom.conf in the 'games' directory in file manager and run dosbox from the xterm with:

xkbd | /home/user/dos/dosbox -conf /home/user/MyDocs/.games/xcom.conf

Addison 2007-11-11 05:45

Re: DOSBox 0.65 ... ftw
 
Thanks a bunch Roc!

If you're ever in Lansing Michigan, stop by at my house and I'll share my pop tarts and beer with you!

I seriously spent (wasted) a good two hours rifling through the internet, which to me is just a daily, turd depository, hitting every site with the keywords dosbox and nokia in them. I totally came up empty, so my sincerest thanks for taking the time to write that all out. :)

Well, I don't have wireless at my house but I'll go through each of your steps on Monday at my University and I'll post back on how horrible things went for me.

Cheers!

Addison 2007-11-11 06:30

Re: DOSBox 0.65 ... ftw
 
I found this and thought it might help you out with X-Com.

http://www.xcomufo.com/forums/index....89&mode=linear

Just my way of saying thanks again. :)

Roc Ingersol 2007-11-12 16:29

Re: DOSBox 0.65 ... ftw
 
Thanks.
I'd already stumbled through just about every XCom/Dosbox repository around trying to get this running. I'm all set at the moment, except that the cursor just doesn't work properly.

It's the whole 'absolute' versus 'relative' mousing coordinates thing.

That first tabletPC link you sent was close, but their work-around was ms tabletXP-specific. I was kinda hoping I didn't have to crack open the development tools and try to patch things myself. =/

penguinbait 2007-11-12 16:45

Re: DOSBox 0.65 ... ftw
 
I have been trying to get Windows 311 running to no avail. It loads everything but is having issues on the display when windows trys to load to finish install process...

Why, Why Not?

BOFH 2007-11-14 13:32

Re: DOSBox 0.65 ... ftw
 
Anybody got a working link to libSDL_net-1.2.so (for 2008 if possible)

*/ I got a copy from http://repository.maemo.org/pool/maemo3.2/free/binary/ but is not fully working */

Addison 2007-11-16 00:59

Re: DOSBox 0.65 ... ftw
 
Hey Roc!


It's been a few days and apparently I'm still caught up in a slight hang up with your directions.

I have CME's xkbd package installed. Joy!
and I now have a directory
/home/user/dos

The problem is, I can't copy the folder "dosbox" there.

For some reason the unzip program didn't know how to open the dosbox file at Arnim's site.

So right now I have the unzipped folder "dosbox" on my internal memory card.

If I go into X Term and type
cd ..
cd ..


then type

cp /media/mmc2/dosbox /home/user/dos/dosbox
I get this message

cp: omitting directory '/media/mmc2/dosbox'
Grrrrr.


I am too stupid to live!



One other comment, also at Arnim's site I tried to get TOME to work as well.

His instructions are to put the folder "tomeinst" into
/user/home and not /home/user like you said in your last post.

I don't have wireless internet at home so I just unzipped the file and put in on my internal memory card.

Again I tried
cp /media/mmc2/tomeinst /user/home

and still getting
cp: omitting directory '/media/mmc2/tomeinst'


It would be great if I could continue receiving some help on this.

If I do or if I don't, either way, I think I'm getting drunk tonight.


Cheers.

ArnimS 2007-11-16 05:40

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Smothermunchie (Post 95601)
Hey Roc!
cp /media/mmc2/tomeinst /user/home

I apologize, this was a dyslexia-driven error on my part.
There is no /user/home on the device - the correct directory is /home/user.

--------
Re: DosBOX install

Dosbox is one of those applications that inherently requires use of the command-line and editing of configuration files. Unlike the fceu emulator, it isn't a click-and-play type of program. That being said, I do apologise for not yet integrating a keyboard and menu-based launcher. I've been spending most of my time on it fixing up the errors introduced into the 0.70 branch.

Cheers,

BOFH 2007-11-16 16:21

Re: DOSBox 0.65 ... ftw
 
I blame ArnimS and a boring day at work for me trying the following;

http://i125.photobucket.com/albums/p...x0/win_311.jpg

http://i125.photobucket.com/albums/p...in_311_VNC.jpg

Addison 2007-11-16 19:32

Re: DOSBox 0.65 ... ftw
 
Quote:

I blame ArnimS and a borning day at work for me trying the following;

You were birthed at work today?


That must have been freakin' weird. *lol*



Hey, pop quiz Arnim.

By any chance could you get a hold of Dawnmist for me?

I posted over at this forum and really would like to hear from him, that is, unless you know the answer yourself.

http://angband.oook.cz/forum/showthread.php?t=283


Thanks.

ArnimS 2007-11-17 06:00

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by spiderx (Post 76996)
what about xkbd - it looks like it doesn't install on the new 2007he os...

I've updated xkbd .deb on my site.

New dosbox 0.72+ cvs .deb version up with latest fixes from the dosbox team. Stop by the vogons site or #dosbox on irc.freenode.net and give em a big "thank you" for the Nokia fixes.

This version will auto-launch xkbd if you have it installed. I am still trying to figure out why xkbd not working with fullscreen sdl apps - the parent process id is now dosbox, so that didn't solve it.

Addison 2007-11-17 21:35

Re: DOSBox 0.65 ... ftw
 
Awesome, awesome stuff ArnimS!!!!

The installation was so easy that even a ******ed gorilla like myself was able to get this on my Nokia. :)

Anyway, I'm trying to run Nethack.

I fire this bad puppy up and it gives me some kind of error stating to get the csdpmi*b.zip files.

So I put CWSDPMI.EXE, CWSDPR0.EXE, CWSDSTUB.EXE, and CWSPARAM.EXE in the Nethack folder from this site.
http://www.delorie.com/djgpp/dl/ofc/.../csdpmi5b.zip/

The game takes some time to get running and when I finally get to the prompt asking me what my name is, the xkbd keyboard isn't responding at all.

I'm able to type one, maybe two letters, and then it basically stops working even though the keyboard appears to still be functional.

Any advice on this?

Also, is it at all possible to compile your own keyboard interface and not be dependent on the xkbd keyboard?

That way you can easily solve the full screen problem you're experiencing.

If you could implement this keyboard that would pure awesomeness.
http://www.dawnmist.net/angband/keyboard_lowercase.png
http://www.dawnmist.net/angband/keyboard_uppercase.png

Maybe if you got ahold of Dawnmist, he'd be willing to package that together for you.

Well, congratulations on your latest build.

Please post back on the issue I'm currently having and what your thoughts are about compiling your own personal keyboard for Dosbox.

Thanks chief!

ArnimS 2007-11-18 01:17

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Smothermunchie (Post 96446)
I'm able to type one, maybe two letters, and then it basically stops working even though the keyboard appears to still be functional.

Any advice on this?

Thanks for the kind words. I haven't been able to find any cases where the keyboard doesn't work in windowed mode.

I put up a mapper.txt file that maps some functions to nokia buttons.
- Fullscreen toggle (for when you need xkbd to type)
- Menu Button to exit dosbox
- +/- buttons for Cpu Cycle Increase/Decrease

I put mapper.txt into /home/user and run dosbox from that directory. If you want, you can also specify where the mapper.txt file is located by editing dosbox.conf .

I don't expect i'll find time to finish up an sdl keyboard soon. Preferred solution would be in the form of a library (e.g libsdlkbd) that you can call from any sdl program.

Another option would be figuring out how to integrate the native hildon input methods with SDL apps. Problem there would be the screen real estate they take up

Re: Installing dosbox 0.72 deb for N800 and N810 just
  • download the deb to mmc.
  • if you haven't yet, install libsdl-net package for your OS
  • open xterm.
  • sudo gainroot.
  • cd to the directory with the .deb file and type
  • dpkg -i dosbox_0.72-0.1_armel.deb

http://pupnik.de/dosbox.html

Addison 2007-11-18 02:14

Re: DOSBox 0.65 ... ftw
 
Once again I deserve to be shot on general principle! :(

I would start "dosbox" from X-Term from the get go and that was it, I wasn't invoking my custom config file. I was wondering why I was only getting about .05 frames per second. Duh.

Okay, help me out one last time here Arnim and I promise you won't be bothered by me for quite some time.

I have my custom dosbox.conf file in /media/mmc2/
For me to start up your Dosbox I type in
dosbox -conf /media/mmc2/dosbox.conf


Is there any easier way to do this so that my dosbox.conf is always set as default?

I need the exact cp command to do this in X Term since I have yet been able to figure out how to transfer any files from my memory card to areas like "/home/user". I've searched the forums but I couldn't find anything that was newbie friendly to understand how this is done.

Again, I have gameflat.xkbd also in /media/mmc2.

How can I make that my default keyboard as well?

Finally, I see that you have a new Dosbox build as of today. Do I need to uninstall your current package or is it okay just to build on top of what's already there?

Thanks again for such a kick butt release!

Modern technology can't even begin to measure how awesome a person you are!


Champagne and fireworks for ArnimS!

ArnimS 2007-11-18 13:24

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Smothermunchie (Post 96521)
I have my custom dosbox.conf file in /media/mmc2/
For me to start up your Dosbox I type in
dosbox -conf /media/mmc2/dosbox.conf


Is there any easier way to do this so that my dosbox.conf is always set as default?

... I have gameflat.xkbd also in /media/mmc2.

How can I make that my default keyboard as well?

Finally, I see that you have a new Dosbox build as of today. Do I need to uninstall your current package or is it okay just to build on top of what's already there?

To make a particular dosbox.conf be the default you can move it to /home/user/.dosboxrc

In your case this would be:
cp /media/mmc2/dosbox.conf /home/user/.dosboxrc

to change your default keyboard, you can overwrite the default keyboard layout file with a different .xkbd definition file

first do a "sudo gainroot" to get root priveleges (or use one of the alternate methods)

then make a backup of the default keyboard layout:
cp /usr/share/xkbd/en_GB.qwerty.xkbd /usr/share/xkbd/en_GB.querty.xkbd.backup


then overwrite the default file
cp /media/mmc2/gameflat.xkbd /usr/share/xkbd/en_GB.qwerty.xkbd


If you installed a dosbox 0.72 .deb from my the link on my site, that's current. The 0.71 is old/bad. Doesn't hurt to reinstall.

p.s. thanks for pasting the link to dawnmists updated keyboard - i had an older version. i'll drop her an email.
p.p.s. please let me know if keyboard problems only happen with nethack, or if you get them with other dos programs
p.p.p.s you do know there's a maemo port of nethack that uses graphics and stuff, right?

Addison 2007-11-18 14:02

Re: DOSBox 0.65 ... ftw
 
Joy!

Oh man, things are getting exciting now!

I think why I was having so much trouble copying files from the memory card was because I wasn't using a period near the end of the command and didn't have root privileges. It's all beginning to make sense to me now. :)

So yeah, I believe I had the .71 version and I think the problem was that you had Max Cycles turned on full.

If you have Dosbox running too fast it actually makes it run incredibly chunky.

I actually could read the screen refreshing faster than it was typing it out so I probably was only getting closer to .005 frames per second originally.

But all is good with the world now!

You are loved by many!

Yeah, I know that there's a Nethack port but the game seems to consistently double my character's movements. It's like playing Nethack on ice. It's too bad really, Joseph put together a really nice interface.

One last mention, could you also ask Dawnmist what the status is on Angband? What she has already done looks so incredibly promising.

Thanks again chief!

You are a mathematical God!

meirm 2007-11-18 15:00

Re: DOSBox 0.65 ... ftw
 
try cp -r <sourcedir> <destdir>

Addison 2007-11-18 19:04

Re: DOSBox 0.65 ... ftw
 
Ah nuts and here I thought I was finished with asking my 18 septendecillion questions.


So anyway, does anyone have a vertical XKBD keyboard that could cover the entire left side of the screen or something even close to that?

I was thinking this would be a nice setting for us poor folk who don't have none of them fancy blue teeth keyboards and can't run Dosbox in full screen. :)

Here is my idea beautifully drawn out in perfect detail.

http://img131.imageshack.us/img131/8612/dosboxqu4.gif

Please don't make fun of this drawing, it took me over 5 hours to make it look this good.



Yeah, that's right. This is my baseline talent level. :)

ArnimS 2007-11-19 02:21

Re: DOSBox 0.65 ... ftw
 
You can make any rectangular shape of xkbd you want just by editing the .xkbd files.

A different form/shape doesn't fix the fullscreen xkbd problem though - I have no clue how to fix.

Working on a dosbox launcher now... ETA unknown.

Addison 2007-11-19 04:03

Re: DOSBox 0.65 ... ftw
 
Quote:

A different form/shape doesn't fix the fullscreen xkbd problem though
Agreed.

But with having the keyboard on the left side, you'll have almost 3 times the free surface area than if you had it on the bottom.

It was just a thought.

I guess that's why I was kind of hoping to see if anyone had a customized XKBD setting that came close to matching this idea therefore I could tweak it a little.

Okay. I'll go away now. :)

BOFH 2007-11-19 10:21

Re: New Dosbox Release!
 
Quote:

Originally Posted by mkstevo (Post 77486)
I thought I downloaded Bochs from the main Bochs site , though I could be wrong there . I have a copy of the install should you want it .

I was trying DosBox on my 770 , with the ( factory installed ) 2006 s/w , the version of DosBox was 0.6xx , the version prior to your most recent release ( sorry I can't be more specific I don't have it loaded any more ) .

I eventually did get DosBox to load my .conf file , this was a slightly modified version of your example provided with the install , altered to provide the required M: drive that the Psion emulator needs in order to run correctly . As I said , launching it was rather hit and miss - with more miss than hit . It may well be my Linux ignorance that caused my problems , I'll be happy to admit that my knowledge of Linux is no more than 0.1%...of nothing !

mkstevo;

Have you compiled Bochs for the N8x0 yet if so can you post it somewhere would save me some time as I was going to try and do it today....

clach04 2007-11-20 02:33

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Smothermunchie (Post 96940)
....
But with having the keyboard on the left side, you'll have almost 3 times the free surface area than if you had it on the bottom.
.....

Having it on a side probably would help in terms of more free space, if it could be made configurable that would be sweet.

For right handed people it should probably be on the right hand side, vice-versa for left handed. Otherwise they will obscure the screen with their own hands :-)

Addison 2007-11-29 21:25

Re: DOSBox 0.65 ... ftw
 
2 Attachment(s)
Okay, I just finished my first customized, sidebar keyboard.

Even though the start up isn't at all what one would consider to be friendly, I thought to post here anyway and perhaps receive some feedback.

Pros:
Nice, neutral size appearance
Doesn't overlap the minimized window


Cons:
Can only exit from keyboard, there's no way to minimize and then resize it again
Less keys supported
Not that great if you're right handed
-It's perfect if you're one of those ignorant, left handed folks :)


So here's how I use it on my Nokia

Start up Dosbox from toolbar
Exit the default keyboard to remove it from the screen (you won't be needing it anymore)
Open up X-Term from toolbar
Maximize the window so X-Term is in full-screen mode.
At the prompt type

xkbd -geometry -1-1 -k /media/mmc2/x.xkbd
(The negative coordinates is not a typo)

Finally, resize X-term and then minimize it so that Dosbox shows back up.



Yikes. That's quite a load to get it going, but I thought I would at least make mention on how I've been using this and to see what you guys think about it.



Here's a screenshot:
Attachment 599


The file is attached at the end of this post. Notice that in the X-Term command above, the x.xkbd file was copied into the internal memory card (mmc2).



Just a few questions to end this post.
ArnimS, can you think of a reason why ADOM 1.1.1 for DOS won't run under Dosbox?
Download site is here:
http://www.adom.de/adom/download.php3

Also, will your T.O.M.E. port work with a minimized screen?
I would love to check it out, but I'm nervous about copying all those files to the internal memory and not knowing if it will work without it being in full screen mode.

Finally, did you ever hear back from Dawnmist?

Okay guys. I'm off to get a little bubbly with a 12 pack of Bud.
I'll check back later this weekend to see if there's any feedback.

Cheers. :)




Attachment 600

ArnimS 2007-12-02 16:04

Re: DOSBox 0.65 ... ftw
 
adom is running: not sure exactly what did the trick, but here's what i idd

first i changed dosbox.conf machine type from "tandy" to "vga" then i increased memory from 8 to 16 MB (not sure if that's important)

then i deleted the process file from the crashed adom

rm adom/ADOM_DAT/ADOM.PRC

then I mounted the adom directory to c:

mount c: /media/mmc1/games/dos/adom

then c:
adom

and it runs fine

i suspect the problem was the machinetype = tandy - it probably expects a vga/ega adapter for the text

I also use a high frameskip to prevent dosbox from trying to redraw the screen too often.

cheers

Addison 2007-12-03 01:49

Re: DOSBox 0.65 ... ftw
 
Awesomeness!

Thank you so much for looking into ADOM for me.

Joy!

Real quick, here's my settings for Dosbox.conf
frameskip=0
cyclespeed=888
nosound=true
pcspeaker=false

I haven't changed anything else.

Are these numbers close to what you have?

Also, in almost of the text adventures that I'm running in Dosbox, I keep having issues with the key repeating itself.

For me to only take one step in the game, I have to briefly tap the onscreen XKBD key faster than 1/10th of a second. Be quick like ninja. :)

Is there any way to reduce or remove a held key repeating itself so fast with either an XKBD or Dosbox option?

Thanks again for your help with ADOM. I'm going to apply your suggestions right now.

ArnimS 2007-12-03 11:39

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Smothermunchie (Post 103645)
Awesomeness!

frameskip=0
Is there any way to reduce or remove a held key repeating itself so fast with either an XKBD or Dosbox option?

For ADOM (or other games without lots of animation) I use

frameskip=4

Never run frameskip 0. At that speed, dosbox is trying to update the screen 60 timems per second, and that's impossible on a N800. All kinds of things will lag and bork at frameskip 0.

Roc Ingersol 2007-12-03 17:19

Re: DOSBox 0.65 ... ftw
 
Oof, sorry for falling off the thread there Smother. I ran into the whole 'n800 frozen at white nokia screen' problem and wound up having to reflash the device a couple times. That made me a little reluctant to sink more time into further experimenting with dosbox.

ArnimS: any thoughts on an OS2008 port and/or the mouse/stylus problem?

ArnimS 2007-12-03 23:45

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Roc Ingersol (Post 103907)
Oof, sorry for falling off the thread there Smother. I ran into the whole 'n800 frozen at white nokia screen' problem and wound up having to reflash the device a couple times. That made me a little reluctant to sink more time into further experimenting with dosbox.

ArnimS: any thoughts on an OS2008 port and/or the mouse/stylus problem?

Thanks for asking - i pondered a bit and think i just invented a solution. :)

Roc Ingersol 2007-12-04 21:14

Re: DOSBox 0.65 ... ftw
 
I would be obscenely grateful for such a fix.

At the high level it seems like an ugly patch should be pretty straightforward. But given the number of intelligent people that have been stumped, I figured there must be quite a devil in the details.

Addison 2008-01-06 05:34

Re: DOSBox 0.65 ... ftw
 
Hey ArnimS. What's the status on this still?

I refuse to upgrade to 2008 because Dosbox is such an awesome feature to have.

Also, what is this comparable to? I think I heard somewhere that it runs at the same speed as a 4.33 mhz computer. Is this close to being correct?

Thanks.

rdcinhou 2008-01-20 02:44

Re: DOSBox 0.65 ... ftw
 
Okay, I've just discovered DOSBOX and been trying to follow the eight pages of threads.

I don't find xkbd after red pill mode, but I found xkbdbthid. Does this replace xkbd?

I can't seem to get the soft keyboard to pass through to the DOS command prompt in the startup window even when invoking on the command line together with a pipe "|".

Addison 2008-01-20 04:28

Re: DOSBox 0.65 ... ftw
 
http://pupnik.de/xkbd.html

I'm currently playing Nobunaga's Ambition 2 which runs like a dream using the custom keyboard I posted previously in this thread. :)

rdcinhou 2008-01-20 12:45

Re: DOSBox 0.65 ... ftw
 
Very much appreciated! I still have some problems to solve as the xkbd (default configuration) doesn't seem to pass through lower case letters, but the upper case and numeric work fine.

My intention is to get my old copy of Borland's Turbo Prolog running so that I can do AI (artificial intelligence) applications on my N800.

I hope that by the time I get that running, someone will have ported a variant of LISP which has a "Hildonized" interface.

Addison 2008-01-20 18:09

Re: DOSBox 0.65 ... ftw
 
Quote:

My intention is to get my old copy of Borland's Turbo Prolog running so that I can do AI (artificial intelligence) applications on my N800.

I hope that by the time I get that running, someone will have ported a variant of LISP which has a "Hildonized" interface.
Okay. So I counted exactly 5 words in your post that mean nothing to me. Sorry. :confused:

All I can say is that I'm using the latest version of OS 2007 and it works better than I could ever hope for.

ArminS recently received his N810 in the mail so I'm expecting an update on his port hopefully within the next month.

If you can't wait until then, perhaps you should consider downgrading since I don't think it was compiled with 2008 in mind.

Just a thought.

Cheers dude.

mkstevo 2008-01-20 19:50

Re: New Dosbox Release!
 
Quote:

Originally Posted by BOFH (Post 97022)
mkstevo;

Have you compiled Bochs for the N8x0 yet if so can you post it somewhere would save me some time as I was going to try and do it today....

Hello , sorry for not replying earlier . No I have not compiled Bochs for the N8x0 . The version I ran on the 770 was already compiled , probably for some other ARM based version of Linux as I don't have the required knowledge in Linux for that type of activity !

As you may have guessed , I am not using my 770 much (at all...) at the present . I am using my (new) ASUS EeePC instead . As this has an 'Intel Inside' , DosBox tends to be much happier , and more reliable for the things I want to do .

OSEmuTech 2008-01-20 22:34

Re: DOSBox 0.65 ... ftw
 
I downgraded from OS 2008 to OS 2007 today to try this out on my N800. Thank you very much!

http://fkwjcw.bay.livefilestore.com/...19uQ/2masm.png

http://fkwjcw.bay.livefilestore.com/...trlrw/4win.png

ArnimS 2008-01-20 23:13

Re: DOSBox 0.65 ... ftw
 
You can has dosbox on OS2008... just dpkg -i the deb from my site. Needs libsdl-net as usual.

I got my chinook sdk running and am trying to eke-out some more speed from dosbox right now.

Been testing a few 1988-1993 games with cpu=simple, frameskip 3, scaler=none, cycles adjusted during play (+/- buttons)

Test Drive II (ega/spkr) - ~5fps

Wing Commander (vga/sb16) - ~5fps but major music dropouts at std cycles, have to drop to ~600 cycles

Comanche (vga/sb16) - about ~1.8 fps without sound, ~1.2 fps with sound

Ultima 6 (ega/sb16) - about 4 fps, adlib sound problems above 900 cycles.

I'm also trying Doom -timedemo demo3 at fixed 2600 cycles, no sound but getting the same gametics reported despite widely varying speeds.

DosBox 0.72 (gregale) latest
1091 gametics in 9565 gametics = 3.99 fps @ 2600 cycles - but onscreen it looks to be about = ~2 fps, meaning doom's internal clock may not be accurate due to too high cycles(?).

DosBox 0.72 (chinook) gregale's ./configure and no cflags
1091 gametics in 9565 gametics = 3.99 fps @ 2600 cycles

DosBox 0.72 (chinook) new ./configure -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp
1091 gametics in 9565 gametics = 3.99 fps @ 2600 cycles but actual fps is easily below 1 (WHAT??)
So i must be doing something very wrong with the new ./configure but i haven't discovered it yet. This project needs serious attention by a real ARM programmer.

edit ... found the problem (brand) new build runs wing commander at about 8 fps ... wooo...
grab the new build at http://pupnik.de/dosbox_N8x0.tgz let me know if it seems faster than the old one - ty


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

vBulletin® Version 3.8.8