PDA

View Full Version : DOSBox 0.65 ... ftw


Pages : [1] 2 3 4

ArnimS
04-06-2007, 04:52 PM
http://pupnik.de/dosbox_lederhoden.png

dosbox now running on Nokia 770!

http://pupnik.de/Dosbox_0_65__001_N770__ultimaV.jpg

:D

Download at http://pupnik.de/dosbox.html

Changes: Packaged to .deb, updated to 0.72+ cvs with new alignment fixes. Support for xkbd autostart. Mouse auto-calibration should work in some games - drag stylus slowly across all four corners of the game screen.

Update Feb 16: New N800/N810 version up - should install without dependencies - fixed N810 keyboard problem - should install on OS2007 also (not tested).

Update Feb 27: Thanks to ukki we now have Rubybox! a dosbox frontend launcher specifically for maemo/ITOS.

Rubybox requires two ruby packages:
ruby1.8
ruby1.8-maemo
To install these on OS2008, click on the following link to the .install file for the GPL Systems Repository (repository containing ruby) then in application manager go to the section 'programming' and install the ruby packages.

http://gronmayer.com/it/dl.php?id=216
http://pupnik.de/rubybox_0.1.deb

Update March 04: New dosbox bundled with vertical/left-hand-side keyboard map. You can now change the .xkbd map by editing /usr/bin/dosboxkbd to point to whatever .xkbd layoutfile and -geometry positioning you want.

ArnimS
04-06-2007, 06:18 PM
Just found some ~major~ speedups in dosbox.conf...

PC speaker working fine.

Sb16 emulation working (but Adlib/OPL3 FM synthesis is very cpu intensive, as is to be expected).

UMB/XMS/EMS working

Dosbox mmap2() can't allocate more than 2MB of ram for emulated PC

8088/8086 compat. games tested (Alleycat, UltimaIV) run nice and fast, and look beautiful with advmame2x smoothing scaler. :D

80286 games tested so far are unplayable.

(edit) Dosbox 0.70 is unplayably slow so far.:confused:

lechuck
04-06-2007, 08:56 PM
How do I install it?

thanks!

mupper
04-07-2007, 03:34 AM
neeeeeed it to ! Mega THX

ArnimS
04-08-2007, 02:02 AM
Update: I've gotten dosbox 0.70 running fast now, (the auto cycle option was causing problems) but the VGA emulation is broken - garbage on screen.

(edit) "Fast" means roughly equivalent to a 4.77mhz 8088 in overall performance. If you can write a Just In Time compiler for x86 onto ARM, that'd help a lot. :p

ArnimS
07-05-2007, 05:18 PM
neeeeeed it to ! Mega THX

Download this

http://pupnik.de/dosbox_maemo_065_001.tgz

and extract with

tar xzvf dosbox_maemo_065_001.tgz

I think you'll need to grab this to run it

http://rapidshare.com/files/41234729...armel.deb.html

Let me know how things work for you. Favorite games, dosbox.conf tweaks.

earl00
07-05-2007, 06:02 PM
I think you'll need to grab this to run it

http://rapidshare.com/files/41234729...armel.deb.html



The link is broken and exactly what is it? Thanks.

obra
07-05-2007, 07:18 PM
I'm not the best at this, and I don't know what I'm doing wrong, but when I try and run it from xterm I get the error:

/media/mmc2/dosbox_maemo_065_001 $ dosbox --conf dosbox.conf

/bin/sh: dosbox: not found

ArnimS
07-05-2007, 07:30 PM
The link is broken and exactly what is it? Thanks.

What a lame free hosting site. I uploaded that a couple of hours ago.

It's a library that allows sdl apps to use networking.

To obra, i should have mentioned in the README that the dosbox executeable has to be placed on your root filesystem.

The nokias can not run programs off the mmc card (or SD card, AFAIK).

So i just put dosbox in my home directory and put my dos games on the mmc card. Then i mount the directory with the dos games inside dosbox.

Stop by #maemo chat on irc.freenode.net for faster answers.

distguitar
07-05-2007, 09:01 PM
ArnimS: could you reupload libSDL please?

obra
07-05-2007, 11:04 PM
Thanks ArnimS!

This is awesome, and really brings me back to the old days.

...now if I only had someway of generating keyboard input I'd be set!

ArnimS
07-06-2007, 01:43 AM
ArnimS: could you reupload libSDL please?

http://rapidshare.com/files/41293937/libsdl-net1.2_1.2.5-7_armel.deb.html

http://pupnik.de/libsdl-net1.2_1.2.5-7_armel.deb

Ego Brain
07-09-2007, 12:57 PM
Можно запустить с помощью Dosbox игры Dos ( к примеру HMH 2 , Warcraft 2 , Fallout ) ?

ArnimS
07-17-2007, 01:22 AM
http://pupnik.de/libsdl-net1.2_1.2.5-7_armel.deb

If you're on a n800 or IT2007HE i think you have to force the install by using dpkg -i libsdl-net1.2_1.2.5-7_armel.deb, or use the bora version by
cjackiewicz

http://blackax.net/Pub/wesnoth/dists/bora/user/binary-armel/libsdl-net1.2_1.2.5-7_armel.deb

ArnimS
07-17-2007, 01:30 AM
Thanks ArnimS!

This is awesome, and really brings me back to the old days.

...now if I only had someway of generating keyboard input I'd be set!

Get a bluetooth keyboard. Very useful for gaming in general, as well as all the emulators.

If someone wants a little project, there's a virtual keyboard for X in the Windowmaker project (search ITT forums). There's also a package called xvkbd you can compile but it requires some dependencies i haven't had time to build.

Then there's the issue of triggering the virtual keyboard to display, without hacking the source of dosbox and the other emus. I'm not sure how that'd be done without taking-up one of the hardware buttons. Perhaps the vkbd program could monitor for a button sequence, or possibly screen taps on the edges.

(edit) Problem solved! (mostly)

http://pupnik.de/xkbd_m_bottom.gif

you can grab the xkbd and config file at http://pupnik.de/xkbd.html

earl00
07-17-2007, 04:30 AM
is there a way to zoom into a game? very small res.

Mika73
07-17-2007, 04:46 AM
The nokias can not run programs off the mmc card (or SD card, AFAIK).



I with they could.. Then I could also use C64 emulator :)

aflegg
07-17-2007, 07:47 AM
There's no reason they can't. The cards are marked as "noexec" in /etc/fstab because the FAT filesystem can't maintain the "executable" bit, so everything becomes executable.

If you remove "noexec", or format your cards as ext2 (for example) you can run code directly off the cards.

Also note there's nothing stopping an application storing data on the card if necessary (e.g. emulator disk images containing emulated programs).

ArnimS
07-18-2007, 06:21 AM
is there a way to zoom into a game? very small res.

you can edit dosbox.conf and enable 2x scaling.

You can also make a copy of dosbox.conf for every game you run, then pass that dosbox filename to the program when you start it.

This is very useful on the nokias because tweaking settings individually per-game can optimise performance.

FirebirdFeuervogel
07-19-2007, 12:27 PM
Its a huge longshot, but I was wondering if One Must Fall 2047 could run playably on dosbox on the tablets? Bit of an OMF fanboy, have the original cd, a signed copy of OMF:BG, and a signed poster from OMF:BG too... *misses the days of the bg beta but decides to stop getting off topic*

ArnimS
08-13-2007, 06:29 AM
Its a huge longshot, but I was wondering if One Must Fall 2047 could run playably on dosbox on the tablets? Bit of an OMF fanboy, have the original cd, a signed copy of OMF:BG, and a signed poster from OMF:BG too... *misses the days of the bg beta but decides to stop getting off topic*

On the 770 i was getting about 1 fps for OMF 2047. Maybe if you could slow your brain down 30x it would be fun? :)

mkstevo
08-27-2007, 04:44 PM
I know I'm a bit of a dunce when it comes to Linux so excuse me if this is a stupid question but...

I have managed to download and install xkbd , 'Run application system monitor' and DosBox .

If I start DosBox , the run application system monitor icon disappears from the system tray , if I then minimize DosBox , the Nokia freezes so I can't start xkbd . If I start xkbd , no commands are received by any other program until xkbd is closed , so I can't then start DosBox .

How do I make both run together ? I have tried entering the command /home/user/dos/dosbox --conf dosbox.conf ; xkbd in the 'Run box' but that doesn't seem to work .

I am also struggling to get my configuration file to load , I have edited it on my Mac to load the program I want to run ( the Psion Series 3a emulator ) but it seems to not be recognised , still if I can't get the keyboard to load I can't go any further any way .

Sorry if this is a dumb question ... I am sure there is an easy way - if I only knew what that was .

Yet another silly question - Where are the commands for the 'Run Box' stored ? I have a number of failed attempts on the menu , but I can't see how to get rid of them ...

mkstevo
08-28-2007, 01:24 PM
Well following my previous post , I have figured out how to run both xkbd and DosBox from the same command ( xkbd | /home/user/dosbox --conf /home/user/psion.conf ) however , typing that command into the 'Run box' provided by Load-Applet-Run doesn't work as I expected . It fails to load the configuration file ( psion.conf ) even entering the command with no config file specified fails to load the default config file ( dosbox.conf ) despite it being stored in the same directory as the dosbox application .

After many wasted hours , I found that issuing the same command in xterm did work as expected , and I was finally able to load dosbox , and the Psion Series 3a emulator . If only that was the end of it . I could only get the emulator to load successfully one in every three launches , one attempt might fail with no catastrophe , one would fail locking the entire machine ( Nokia 770 ) leading me to need to pull the battery out to reset it , and one would work correctly .

None of this would have been too bad , but ... In order to control the Applications and the emulated Psion Series 3a itself menu shortcuts are issued by means of the Psion key ( on an original Psion machine ) or the Alt key on an emulated Series 3a , in combination with a letter . So the install command is Psion+I ( Alt+I ) , the exit command is Psion+X ( Alt+X ) . xkbd does not seem to handle this type of input correctly , whether 'Scancodes' is set to true or false ( in the DosBox config file ) . This would not be too much of a problem if xkbd was able to supply the function keys ( F1 , F2 , F3 etc. ) as it would then be possible to work through the menu system using the cursor keys , initiating the menu with F9 .

I know , I could have edited the xkbd layout file , and altered it to provide the 'F' keys ... But then I would have needed to figure out the correct command protocol to launch my layout , and it was 2.30am with me needing to be up at 6.30am for work ... So I deleted the lot , and have given up for now . Perhaps a cleverer person than I will have the inspiration to get this all working together , the Psion Series 3a emulator will run on the Nokia , it probably only needs polishing up a little , sadly I don't understand enough about Linux to do that polishing . Should anyone else have managed to figure all this out , please get in touch .

ArnimS
08-28-2007, 05:10 PM
I could have edited the xkbd layout file , and altered it to provide the 'F' keys ... But then I would have needed to figure out the correct command protocol to launch my layout , and it was 2.30am with me needing to be up at 6.30am for work ... So I deleted the lot , and have given up for now . Perhaps a cleverer person than I will have the inspiration to get this all working together , the Psion Series 3a emulator will run on the Nokia , it probably only needs polishing up a little , sadly I don't understand enough about Linux to do that polishing . Should anyone else have managed to figure all this out , please get in touch .

The xkbd layout file is pretty simple to edit, but i haven't seen examples with Function Keys in em.

Try substituting F11 for 'm' in the config file and see if you can hit an F11

It took me about an hour or two of tweaking to make my custom xkbd layout files.

mkstevo
08-29-2007, 09:25 AM
The xkbd layout file is pretty simple to edit, but i haven't seen examples with Function Keys in em.

Try substituting F11 for 'm' in the config file and see if you can hit an F11

It took me about an hour or two of tweaking to make my custom xkbd layout files.


Thanks for your suggestion . Once I have altered the layout file , how do I then load it ? It is working this sort of thing out that takes me so long .

Assuming my keyboard layout is on the mmc I imagine that I would need to issue the following command :
xkbd -k /media/mmc1/keyboardfolder/mykeyfile.xkbd | /home/user/dos/dosbox

I thought ( but could be wrong ) I saw in another thread that you have some experience with bochs on the 770 , is that any more stable than DosBox ? I was going to give it a try but realised that I would probably still need xkbd and a modified layout file , and so I gave it a miss ...

Sorry , I really don't understand Linux , this is my first 'real' Linux device apart from my Mac and HiFidelio , both of those have managed to 'hide' the Linux part of their OS fairly well , and I rarely need to venture into command line territory . I'd like to get the Psion Series 3a emulator to run though , as I wrote some useful ( to me ) applications for it that would come in very handy to have on a daily basis , hence the reason I want to master this .

Thanks for your reply , and thanks to anyone who feels generous enough to lend a hand .

ArnimS
09-19-2007, 04:25 PM
Assuming my keyboard layout is on the mmc I imagine that I would need to issue the following command :
xkbd -k /media/mmc1/keyboardfolder/mykeyfile.xkbd | /home/user/dos/dosbox

I thought ( but could be wrong ) I saw in another thread that you have some experience with bochs on the 770 , is that any more stable than DosBox?

Yep, that should be fine. Xkbd requires a non-fullscreen dosbox for me, so i suggest you disable that in dosbox.con. How is it working for you?

Bochs wouldn't build for me, and i don't think it would run acceptably.

Update: New DosBOX 0.72 with deb package goodness!

Timings for sound emulation seem to be improved. It has a rewritten VGA/EGA core which is giving strange artefacts on the Nokia, so I use Tandy graphics (which are faster anyway).

http://pupnik.de/dosbox.html

Give it a go and let me know how it works for you! :)

mkstevo
09-20-2007, 02:41 PM
Yep, that should be fine. Xkbd requires a non-fullscreen dosbox for me, so i suggest you disable that in dosbox.con. How is it working for you?

Bochs wouldn't build for me, and i don't think it would run acceptably.

Update: New DosBOX 0.72 with deb package goodness!

Timings for sound emulation seem to be improved. It has a rewritten VGA/EGA core which is giving strange artefacts on the Nokia, so I use Tandy graphics (which are faster anyway).

http://pupnik.de/dosbox.html

Give it a go and let me know how it works for you! :)

Hello , and thanks for your advice .
I have modified the keyboard layout for xkbd and have included the function keys as needed , and given them the names as they would be on the Psion Series 3a ( F1=System ... F11=Menu ) so I can now access the menus and other functions . I have however hit a snag , apart from the alphabet keys , none of the 'shifted' keys send the correct values when the shift key is pressed . I thought it might be a problem with the way the shift key worked so included on my keyboard layout a row above the number keys which held the 'shifted' key values , without the need to press the shift key , but the keys still sent the values that would have been present , if they had been the number values . For example : I setup a key with the label of '!' and set to send the character of '!' , but the Psion emulator showed '1' instead . I believe this is due to the way the Psion machine was originally designed to receive keypresses on the original hardware , expecting to scan the keyboard and find the Shift key down , and the 1 key pressed , not to be sent a value of '!' which it knows as the 1 key , and with ( as far as it sees ) no shift key pressed , interprets this as a '1' . As the alphabet keys only go into upper case with the CapsLock on ( not with the shift key ) , I fiddled with the settings of the 'obey CapsLock' value in the keyboard layout , but this has not helped . So for the time being , I've come unstuck ...

I tried Bochs , and got it to run correctly , slow it was ( possibly slower than DosBox ) but it never crashed the 770 once , in all the hours I messed about trying to perfect my keyboard layout . DosBox did literally only work for 33% of the launch attempts , often causing the 770 to need its battery pulling out to enable me to reset it .

ArnimS
09-21-2007, 01:20 PM
I tried Bochs , and got it to run correctly , slow it was ( possibly slower than DosBox ) but it never crashed the 770 once , in all the hours I messed about trying to perfect my keyboard layout . DosBox did literally only work for 33% of the launch attempts , often causing the 770 to need its battery pulling out to enable me to reset it .

Where did you get bochs?

Which dosbox version crashed? On what OS? (2006/2007he)

Be sure to invoke dosbox to load the tweaked dosbox.conf.

spiderx
09-21-2007, 07:54 PM
what about xkbd - it looks like it doesn't install on the new 2007he os...

mkstevo
09-24-2007, 02:30 PM
Where did you get bochs?

Which dosbox version crashed? On what OS? (2006/2007he)

Be sure to invoke dosbox to load the tweaked dosbox.conf.

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 !

ArnimS
09-24-2007, 07:47 PM
I'll be happy to admit that my knowledge of Linux is no more than 0.1%...of nothing !

Maybe but you're obviously motivated and intelligent.

I'm sad that dosbox 0.65 was buggy. It was real stable here. Thanks for mentioning your OS. My only problems with dosbox were on it2007he. (hacker edition). Can you write an email to the psion emulator developers asking if they would consider making an open-source/linux version?

Update on the 0.72 build: the dosbox developers gave me a video mode testing app, and i could identify vga/ega modes that were causing problems. Not all of them do.

mkstevo
09-25-2007, 01:34 PM
Can you write an email to the psion emulator developers asking if they would consider making an open-source/linux version?


Psion themselves no longer exist , they eventually morphed into Symbian so I don't think this has any chance , if I even knew who to email .

I hope I did not imply that you were to blame for DosBox not working . The Psion emulator was notorious for not working , even on the targeted hardware . It needed very specific hardware , and would often only work on certain DOS versions , with certain system parameters set .

The fact that Boch runs slowly is not such a problem as you might think , the original Psion Series 3a used an 8088 processor running at 8Mhz , hardly cutting edge . The main limitation I now have is the keyboard , and as I stated previously , I think this may ultimately halt any practical use of the system .

I'll keep trying as and when inspiration strikes .

Many thanks for your kind help .

Tirithen
10-05-2007, 04:19 AM
Hello, I'm using dosbox 0.65 and tryed to run a few dos games like civilization, the game seem to run fine except for two things. One is that the mouse pointer is missplaced, seems like it missplaces the same pixels as the width of n800's startmenu and top menu. Is there some easy way to solve that?
The other problem might be more complicated, when i run dosbox it can't find an MIDI device. It says "MIDI:Can't find device" I tried alsa,oss and default. Mabye this is not working yet.

But is it possible to get the mouse in the right place?

Great work by the way!! :-)

Tirithen
10-05-2007, 04:20 AM
... By the way, the download link to v0.72 deb is broken. :-/

ArnimS
10-05-2007, 07:28 AM
I pulled 0.72 due to brokenness. 0.65 is better atm.

The dosbox and maemo gurus have been helping me identify and fix bugs with EGA mode introduced into the 0.70 dosbox branch.

DOSBox checks for a MIDI sequencer in /dev and spits out an error if it cant find it. ITOS doesn't have one, but it would be a fun project to add a simple midi sequencer to maemo alsa that runs on DSP. Use dosbox internal soundblaster emulation for midi musit (see dosbox.conf)

Thanks for pointing out the mouse errors. Do they also occur when you run dosbox with the -fullscreen option? (or fullscreen set in dosbox.conf)?

Tirithen
10-05-2007, 08:08 AM
Haha had missed that it did have an fullscreen mode.
Can't try with civilization because now I don't know how to start xkbd should I print "./dosbox -fullscreen|xkbd" it does not work...

Tirithen
10-05-2007, 08:31 AM
in worms it seemes like the pointer gets displaced the other way around (to the left) when in fullscreenmode. Does the mouse work fine for you? Could not try in civilization couse dosbox don't get the signals from xkbd, I probobly start it in the wrong way.. Need the keys to get past the first menus to try the mouse pointer. xkbd works fine in window mode if I start i after dosbox from the menu...

ArnimS
10-05-2007, 11:09 AM
in worms it seemes like the pointer gets displaced the other way around (to the left) when in fullscreenmode. Does the mouse work fine for you?

Thanks for the feedback! I found a fix for another SDL program so i will look into dosbox SDL mouse to see if i can correct this.

xkbd works fine in window mode if I start i after dosbox from the menu...

Sorry bout that - currently xkbd can't work with any app running in fullscreen mode. Somebody who understands more about X11 will have to take a look into this.

Tirithen
10-06-2007, 06:03 PM
Thanks, would be so glad if the original civilization could work. It's an advanced game and yet it runs without problem on anything with 640kb+ ram.

Wich I knew more about C and how to help modify dosbox but I got stuck in setting up the compile eniornment... Tell me if you want some kind of testing help or something.

Would it not be possible to fast add something afterwards the input value that corrects the pointer position until the real problem gets fixed, it seemed to kind of regulary missplaced...

ArnimS
10-09-2007, 12:05 PM
Would it not be possible to fast add something afterwards the input value that corrects the pointer position until the real problem gets fixed, it seemed to kind of regulary missplaced...

I spent a few minutes looking at this and i think it's impossible. MS-DOS games expect relative mouse movement. There's no way for DOSBox/linux to determine how much relative movement is required to move to an absolute screen position.

Note to self: do not try to set self-imposed deadlines on new releases - pointer alignment problems continue to plague dosbox 0.72.

LAGMonkey
10-21-2007, 10:41 AM
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
11-09-2007, 10:01 AM
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
11-09-2007, 07:15 PM
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/topic.asp?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
11-10-2007, 11:53 PM
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 (http://hildon-app-mgr.garage.maemo.org/redpill.html).

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 (http://pupnik.de/dosbox_maemo_065_001.tgz),
sample dosbox.conf from here (http://pupnik.de/dosbox.conf) and libsdl_net from here (http://pupnik.de/deps/libsdl-net1.2_1.2.5-7_armel_bora.deb)

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
11-11-2007, 01:45 AM
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
11-11-2007, 02:30 AM
I found this and thought it might help you out with X-Com.

http://www.xcomufo.com/forums/index.php?showtopic=2989&mode=linear

Just my way of saying thanks again. :)

Roc Ingersol
11-12-2007, 12:29 PM
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
11-12-2007, 12:45 PM
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
11-14-2007, 09:32 AM
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
11-15-2007, 08:59 PM
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
11-16-2007, 01:40 AM
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
11-16-2007, 12:21 PM
I blame ArnimS and a boring day at work for me trying the following;

http://i125.photobucket.com/albums/p60/BOFH139/N8x0/win_311.jpg

http://i125.photobucket.com/albums/p60/BOFH139/N8x0/win_311_VNC.jpg

Addison
11-16-2007, 03:32 PM
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
11-17-2007, 02:00 AM
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
11-17-2007, 05:35 PM
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/simtel/v2misc/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
11-17-2007, 09:17 PM
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
11-17-2007, 10:14 PM
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
11-18-2007, 09:24 AM
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
11-18-2007, 10:02 AM
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
11-18-2007, 11:00 AM
try cp -r <sourcedir> <destdir>

Addison
11-18-2007, 03:04 PM
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
11-18-2007, 10:21 PM
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
11-19-2007, 12:03 AM
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
11-19-2007, 06:21 AM
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
11-19-2007, 10:33 PM
....
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
11-29-2007, 05:25 PM
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:
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. :)




600

ArnimS
12-02-2007, 12:04 PM
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
12-02-2007, 09:49 PM
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
12-03-2007, 07:39 AM
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
12-03-2007, 01:19 PM
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
12-03-2007, 07:45 PM
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
12-04-2007, 05:14 PM
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
01-06-2008, 01:34 AM
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
01-19-2008, 10:44 PM
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
01-20-2008, 12:28 AM
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
01-20-2008, 08:45 AM
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
01-20-2008, 02:09 PM
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
01-20-2008, 03:50 PM
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
01-20-2008, 06:34 PM
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/y1p27A0pF0A3D-sXrFsNyn9myJdCWMdOeZeAGq3xAys_Ql8TwiKAYj7w6mTOLWXa 4oWsesh-9jHETjeYDY6uk19uQ/2masm.png

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-fsN9CsaDE4HeYjBdRWQ4NTA5H7SwDhGBE5cwr9-bxfZ_5z11pUeTWkV8b_ta0b8cjSe04qtrlrw/4win.png

ArnimS
01-20-2008, 07:13 PM
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

OSEmuTech
01-20-2008, 09:38 PM
Cool a new build! :D

I'm busy installing Microsoft C++ 7.0 on DOSBox at the moment, but will try it out asap!

Heh. I spent my entire day off downloading packages and setting up everything for my newly installed OS 2007. I'll probably wait until next weekend to install OS 2008 again (I'm waiting on the next release of Evince for 2008 (http://www.internettablettalk.com/forums/showthread.php?t=14187)).

BTW: I also prefer OS 2007 for now because the camera program can record video (https://garage.maemo.org/projects/camera/), Scite works with the keyboard, and Abiword, gFTP, and Samba aren't available for 2008 yet (as far as I can tell).

ArnimS
01-21-2008, 01:11 AM
these SDL programs are highly os-agnostic. my os2006 games run on os2007 and 2008. this 'chinook' build will also likely run on os2007.

OSEmuTech
01-21-2008, 02:05 AM
this 'chinook' build will also likely run on os2007.
It works on 'bora' for me.

As I only used the previous version briefly to install a few applications, and am not much of a gamer, I can only say that the new release seems faster. :)

I'm really looking forward to seeing what 16-bit software I own works fine on it. So far W4WG 3.11, Masm 6.11d, and MSC++ 7 do.

Linux and DOS\Win16 ... now hopefully a Maemo build of Basilisk II is released to run 680x0 Mac software on our ITs.

Nace0
01-21-2008, 01:29 PM
Hey guys,
Your work is great. I've been searching for nearly 3 days looking for a way to run a DOS platform on my N800. After finding dosbox and spending a couple hours figuring out how to get it started and get the XKBD keyboard installed i got stuck. I was wondering which directory the dosbox works in. I mean when i write "mount c X:\" what do i replace x with to get to mydocs?
Secondly i am stunned at the ability to run Win95 on the dos. I'm really sorry if this is counterproductive but is this true. If it is true should i try doing it through dosbox? And is there a quicker alternate?
Thank You,
Sorry if this is counterproductive once again,
Nick-

jmayson
01-21-2008, 01:54 PM
Thanks! It works great on the N810.

Nace0
01-21-2008, 06:49 PM
Yes, i understand this. I was trying to figure out what the folder is so that i could mount my internal memory card.
Thanks once again

OSEmuTech
01-21-2008, 08:34 PM
I was wondering which directory the dosbox works in. I mean when i write "mount c X:\" what do i replace x with to get to mydocs?

At the end of dosbox.conf I put
mount c: /media/mmc2/dos
to assign a directory named dos I have on my SD card to c:

If you want to mount your MyDocs directory as c: use
mount c: /home/user/MyDocs

BTW: Any lines like
set path=
c:\dos\smartdrv.exe
should be put at the end of the dosbox.conf file as well.

Addison
01-22-2008, 04:11 AM
Pure, unadulterated awesomeness ArnimS!!!

Your brain must be ginormous!

Anyway, school and work has me buried but hopefully I can check out your new build on Wednesday.

Many thanks for giving us such a treat with this latest release!

Pop tarts and beer for ArnimS! :)


EDIT: What needs to be done with the mapper.txt file that came with the download?
I'll need the exact command that needs to be typed in Xterm since I'm incapable of learning anything new on my own. :confused:

Thanks.

ArnimS
01-22-2008, 12:52 PM
edit /home/user/.dosboxrc or dosbox.conf and set the mapperfile to wherever you have mapper.txt

# mapperfile -- File used to load/save the key/event mappings from.
mapperfile=/home/user/mapper.txt

This gives you the maximise/minimize toggle, and cycles adjustment with +/- buttons.

The latest DosBox build *is* a decent improvement over the older ones, but personally, speed still not satisfying yet, and sound blaster emulation is not happy at higher cycles, so ... i will be sleuthing this stuff.

p.s. This is one case where gp2x community has done no useful optimizations.

Nace0
01-22-2008, 05:11 PM
Guys,
Thank you so much for your help.
I cant wait to continue to f0llow your work. Good Luck.
-Nick

Bundyo
01-22-2008, 05:28 PM
With the latest build Lands of Lore is quite playable, even with sound. :D Can't say the same for World of Xeen.

kurupted
01-22-2008, 08:34 PM
i am new and lost i have dosbox running on my n810 but it fails to recognize the directory i specified as dos and i cannot mount anything.
i have this in my config mount c: /media/mmc2/dos and yes i do have a memory card and a folder within it called dos. when i start dosbox it tells me that drive C and D do not exist yet i specified that in the config. my config is located in /home/user/ as dosbox.conf.

help thanks i am willing to try warcraft and dune2

OSEmuTech
01-22-2008, 08:48 PM
dosbox running on my n810 fails to recognize the directory i specified as dos and i cannot mount anything.
i have this in my config mount c: /media/mmc2/dos and yes i do have a memory card and a folder within it called dos. when i start dosbox it tells me that drive C and D do not exist yet i specified that in the config. my config is located in /home/user/ as dosbox.conf

Maybe you need to change mmc2 to mmc1?

Addison
01-22-2008, 09:42 PM
Greetings kurupted!

I'm just going to take a quick stab at this and see if it helps you.
No promises though. :)

If you have your dosbox.conf file in
c: /media/mmc2/dos

Type this in Xterm
cp /media/mmc2/dos/dosbox.conf /home/user/.dosboxrc

This will definitely copy your dosbox.conf file to the right place inside your Nokia.
Hope this helps.

rdcinhou
01-23-2008, 08:30 AM
Did I read correctly? Has someone re-compiled xkbd for OS2008? If so, where is it posted?

Bundyo
01-23-2008, 11:51 AM
No, we're talking about xvkbd.

kurupted
01-23-2008, 07:40 PM
okay so now i have it mounted and i can browse the directory but how do i go about using commands,cant input slashs. (using n810) as the fn key cannot be used (yet?).

ArnimS
01-23-2008, 08:40 PM
I don't know why the fn key doesn't work with dosbox. It works with another sdl program I just built.

I'll try to fix this asap!

(edit) Oh, there are quick workarounds to start up games without the / or : keys


rename your game dir to something without shifted symbols and create a .bat batch file to launch the game if necessary
launch your game directly from the dosbox invocation: e.g. ./dosbox /media/mmc1/games/dos/uiv/ultima.exe
make a dosbox.conf for each game with tweaked settings that work well for that game, then put the commands to mount, cd and launch the game at the end of the dosbox.conf file

OSEmuTech
01-26-2008, 10:45 PM
Hi. Um, where can I get assistance with this? :D

I've tried to use two different xkbd layouts (default and gameflat) and a few of the keys on both of them don't work.

^ (types a # on both keyboards)
= (works unless used under DOSBox?)
, (types a > on gameflat)

Maple 3 works great on DOSBox (N800, OS 2007), except I'm missing some vital keys.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_5DqAjlOyxWjqVQu6Xxp3luswDAUkpXJq8waV 2fPZYmC90JOs56lP5VCbX0hPLXhEna9V3Ly40uQ/dosboxmaplekeyb.png

Edit: Ah! I downloaded a different keyboard map elsewhere and see that each map is customizable. I'll try to work on something myself.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_ZfUkzgUw8il0On_rVXn8r_Yzo-0Tm5ewnBaEi_JpWFSHDQwCJzcWte0H19qn2nT3kKb4STu2YvA/dosboxmaplekeyok.png

Addison
01-26-2008, 11:39 PM
Greetings OSEmuTech!

I've posted this before, but I'll post this once again.

Here's a custom keyboard that I put together that keeps all of the keys away from the Dosbox screen.

891
892

It's somewhat of a hassle to start it up, but it's definitely my personal preference to use.

Here's how it works after you put the x.kbd on your memory card:

Start up Dosbox. Fire up Xterm. Switch to full screen mode in Xterm. Then type:
xkbd -geometry -1-1 -k /media/mmc2/x.xkbd
For it to appear on the right side of the screen, I think, but I'm not positive, that it's:
xkbd -geometry +719-1 -k /media/mmc2/x.xkbd

Finally, just minimize the Xterm window.

The reason for going through all of those steps is for the keyboard to be pixel perfect and flush next to the Dosbox screen. You honestly don't have to be as anal as myself about this though. :)

As for the weird characters showing up in Dosbox, I get the same occurence.

For example, I specifically set a key for the pound sign "#" which works just fine in Xterm but not in Dosbox.

I think to produce a "#" key, I had to type something like "CTRL 3" or perhaps "Shift CTRL 3". I can't remember right this moment and I just did a fresh install on my Nokia.

Just mix around some different key combinations with CTRL, Shift, and the ALT buttons and perhaps you will be able to find the keys you need.

I don't get it, but that's the best suggestion I have for now.

Oh, and lastly. Gentlemen, this is an awesome build but it has serious, serious limitations.

I personally wouldn't test any game or application that is dated any later than 1990. :)

Cheers.

rdcinhou
01-26-2008, 11:48 PM
Something that I've noticed about dosbox is that while running, it pegs the CPU. It must use polled I/O instead of interrupt-driven I/O.

This means it can chew up a battery pretty fast.

Software written for mobile devices needs to think "low power" first.

OSEmuTech
01-26-2008, 11:53 PM
Cool! Thank you very much Smothermunchie. I'll be trying that keyboard map out (it saves me time to create my own). I saw that you people were messing with keymaps earlier, but I didn't see any screenshot of one that looks as good as your's in the previous post.

I have meant to try it, but shell scripting should work under Maemo right? I plan on creating easy launch scripts and find again (somewhere on this forum) how to add program shortcuts to the menu.

PS: I edited my previous post (twice) before seeing your post.

dick-richardson
01-27-2008, 12:21 AM
Cool! Thank you very much Smothermunchie. I'll be trying that keyboard map out (it saves me time to create my own). I saw that you people were messing with keymaps earlier, but I didn't see any screenshot of one that looks as good as your's in the previous post.

I have meant to try it, but shell scripting should work under Maemo right? I plan on creating easy launch scripts and find again (somewhere on this forum) how to add program shortcuts to the menu.

PS: I edited my previous post (twice) before seeing your post.

Yes, shell scripting works well. And adding icons to the panel is easy as copying a .desktop file from /usr/share/applications/hildon and modifying it to do what you want.

I have a couple dosbox games with icons, as well as an ntp update script, reboot, and a backup script.

OSEmuTech
01-27-2008, 01:24 AM
Nokia should have a link to this helpful forum as it's as great as their tablets. Thank you Dick. :p

I noticed that Smothermunchie's keyboard map is also missing some keys I need, so I might investigate modifying it myself tomorrow.

Right now I'm installing MathCAD 6 on DOSBox and hope to get Visual C++ 1.52c installed soon too.

I noticed the other thread about games playable on DOSBox ... games test the limits of the emulator while applications run fine. Does anyone else run non-games on DOSBox here?

Applications that I've tested and work:

Microsoft Macro Assembler (MASM) 6.11d
Windows for Workgroups 3.11 (mouse has problems releasing windows)
Microsoft C 6.0
Maplesoft Maple V5 3.0

Addison
01-27-2008, 01:29 AM
Yes, shell scripting works well. And adding icons to the panel is easy as copying a .desktop file from /usr/share/applications/hildon and modifying it to do what you want.

I have a couple dosbox games with icons, as well as an ntp update script, reboot, and a backup script.



Oooh.... Hey dick-richardson, any chance you could write up a fail safe, step by step direction on how to do this in a nutshell for idiots that don't know the first thing about linux?

It would be awesome if I could throw in a couple of icons on the desktop that would launch the custom dosbox.conf for each game as well as my generated custom keyboard as well.

That would be tight! :)

ArnimS
01-27-2008, 12:42 PM
User 'jott' in #maemo has found a workaround for the problem with SDL and the FN key on N810. I don't know if his changes are acceptable for general-purpose SDL programs, but my tests so far seem to indicate it works well enough.

Also note that if you have a non-us N810 keyboard layout, you can get improved (but not perfect) keymapping with the DOS 'keyb' command. For e.g. with a german keyboard, 'keyb gr' will get you a properly mapped ":". It appears however that we will need to create dosbox keymapper files for each N810 layout.

OSEmuTech
01-27-2008, 03:00 PM
MathCAD 6 Plus is choking on Win32s, so I'll try installing the last version of Win32s.

But Visual C++ 1.52 runs well on DOSBox.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_XJWCJVdPs2BLtiUHryXLz-88YPoc0QtsrU7rtJjbxdryXku05KLCUosWCovlF0Mrd4cvORia 3ug/dbvc152_b.png

kurupted
01-30-2008, 11:49 PM
so how would i go about running this "work around" on my n810. i found a log using google. http://mg.pov.lt/maemo-irclog/%23maemo.2008-01-27.log.html
thats about as far as i can get about trying to figure this out by myself. help thanks

Addison
02-07-2008, 04:33 PM
Okay dude. Pop quiz.

In dosbox.conf I have replaced:

mapperfile=mapper.txt
with
mapperfile=/media/mmc2/mapper.txt


You stated that this gives you the maximize/minimize toggle, and cycles adjustment with +/- buttons.

But it's not working chief. I've tried everything including using the ALT key on Xkbd with the maximize/minimize buttons as well as trying it in combination with the Ctrl key.

So I give, what I am not seeing on this?

Thanks. :)

Bundyo
02-08-2008, 08:15 AM
He meant the hardware buttons :) And it is working for sure, so check the path too.

Addison
02-08-2008, 05:52 PM
Ah poopers.

I didn't read the fine print that it was the middle key plus the +/- keys at the same time.

What's my I.Q. again? :confused:

ArnimS
02-12-2008, 11:50 AM
Been doing some dosbox build performance tests with various compile-time flags. Finding a reasonable benchmark hasn't been easy. Since dosbox emulates several PC subsystems, I choose to test real-world apps. In this case Doom timedemos.

The results indicate time to start dosbox, run the timedemo and exit dosbox (from script). To compute the mean run time, I discard the slowest score of 5. Because a 'clean' run can be broken by various unknowns, the curve is more of a poisson than a binomial distribution.

dosbox_cvs_01_01_25_a -O3 -fomit-frame-pointer -fforce-addr -fforce-mem -falign-loops=2 -falign-functions=2 -falign-jumps=2 -funroll-loops -mabi=aapcs-linux -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp

dosbox_cvs_01_01_25_novfp -O3 -fomit-frame-pointer -fforce-addr -fforce-mem -falign-loops=2 -falign-functions=2 -falign-jumps=2 -funroll-loops -mabi=aapcs-linux -mcpu=arm1136j-s

dosbox_feb12 -O3 -fomit-frame-pointer -mabi=aapcs-linux -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp

dosbox_feb14a -Os -fomit-frame-pointer -fforce-addr -fforce-mem -falign-loops=2 -falign-functions=2 -falign-jumps=2 -mabi=aapcs-linux -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp

dosbox_feb14b -O3 -fomit-frame-pointer -fforce-addr -fforce-mem -falign-loops=2 -falign-functions=2 -falign-jumps=2 -mabi=aapcs-linux -mcpu=arm1136j-s -mtune=arm1136j-s -mfpu=vfp -mfloat-abi=softfp -ffast-math

dosbox_feb14c same but with --disable-core-inline


core simple, cycles 1800, fs 5, no scaler, -timedemo demo3
dosbox_cvs_01_01_25_a 5:56 4:26 5:07
dosbox_cvs_01_01_25_novfp 4:45 5:06 4:43
dosbox_feb12 4:52 5:03 4:57

core simple, cycles 2500, fs 5, no scaler, -timedemo demo3
dosbox_cvs_01_01_25_a 4:13 4:15 4:32 4:23 4:33 : 4:20.75
dosbox_cvs_01_01_25_novfp 4:31 4:25 4:22 4:27 4:23 : 4:24.25
dosbox_feb12 4:42 4:33 4:27 4:39 4:26 : 4:31.25

core simple, cycles 2500, fs 5, no scaler, -timedemo demo3 'performance' profile
dosbox_cvs_01_01_25_a 4:24 4:52 4:23 4:40 4:33 : 4:30.00
dosbox_cvs_01_01_25_novfp 4:33 4:32 4:20 4:39 4:21 : 4:26.40
dosbox_feb12 4:31 4:28 4:30 4:33 5:05 : 4:30.50

core simple, cycles 3600, fs 5, no scaler, -timedemo demo3 'performance' profile
dosbox_cvs_01_01_25_a 4:17 5:38 4:17 4:13 4:14 : 4:15.25
dosbox_cvs_01_01_25_novfp 4:19 4:21 4:14 4:17 4:13 : 4:15.75
dosbox_feb12 4:18 4:19 5:00 4:17 4:31 : 4:21.25
dosbox_feb14a 4:55 5:49 4:49 4:58 4:48 : 4:52.50
dosbox_feb14b 4:02 4:41 4:38 4:05 4:01 : 4:11.50
dosbox_feb14c 4:51 4:55 4:54 4:50 4:59 : 4:52.50

core normal, cycles 3600, fs 5, no scaler, -timedemo demo3 'performance' profile
dosbox_cvs_01_01_25_a 5:47 5:21 5:36 5:33 5:38 : 5:32.00
dosbox_cvs_01_01_25_novfp 6:01 6:06 6:06 5:59 7:12 : 6:03.00
dosbox_feb12 6:02 5:51 6:01 6:10 5:52 : 5:56.50

core full, cycles 3600, fs 5, no scaler, -timedemo demo3 'performance' profile
dosbox_cvs_01_01_25_a 6:25 6:25 6:47 6:33 6:22 : 6:26.25
dosbox_cvs_01_01_25_novfp 5:43 5:43 5:43 5:44 5:52 : 5:43.25
dosbox_feb12 5:57 6:06 5:55 5:55 5:57 : 5:56.00

While the data are inconclusive on effects of build flags, I think we can conclude that for doom timedemo, variance is reduced when the dosbox cycles significantly exceed what the emulator can achieve in realtime.

It appears that increasing cycles well above the point at which dosbox pegs the N810 CPU effectively defeats doom's internal frameskip so that a faster dosbox build+options will finish the run earlier than a slower one.

A seperate test series would be manually running the timedemos and jotting down doom's internal performance reports, using a very small game window and cycles=max.

Addison
02-13-2008, 06:16 AM
Greetings again ArnimS.

I'm not all too sure what those numbers mean with your testing results for the Doom demo but could you also run them in comparison to the latest version of the OS 2007 software?

I'm still on 2007 because of the unusual feedback by some of the members here on how it's less stable than 2008. I'm just not finding the courage to upgrade since I can't seem to understand the reasons to do so at the moment.

I've only got Dosbox and Xkbd running on a fresh install of 2007 and nothing else, no other applications have been downloaded. Would I see a better performance if I went ahead and upgraded?

I posted this earlier, but your mapper keys for the cycles, for some reason, isn't working again. I don't know what happened because there's nothing that stands out on what I'm doing differently than before.

There's something wrong with the mapper.txt feature but I can't make any connection on what might be causing the problems.

Don't get me wrong on this, your releases are extremely cool. The only thing is, you usually have very poor documentation for extreme newbies, such as myself, to help understand the genius world that you come from.

A little knowledge thrown my way and to others would very much be appreciated (but most likely still misunderstood) :)

Thanks chief!

GeneralAntilles
02-13-2008, 06:19 AM
Would I see a better performance if I went ahead and upgraded?

Considering that you get 70 extra megahertz . . . yes.

Addison
02-13-2008, 07:02 AM
Considering that you get 70 extra megahertz . . . yes.

I'm sorry, complete newbie here, but is that money? :o

TA-t3
02-13-2008, 07:52 AM
Speed, not money.. the CPU runs faster (330 MHz -> 400 MHz) with OS2008.

Pushwall
02-13-2008, 09:58 AM
I'm still on 2007 because of the unusual feedback by some of the members here on how it's less stable than 2008. I'm just not finding the courage to upgrade since I can't seem to understand the reasons to do so at the moment.

The one thing I find a bit unstable is xkbd in OS2008. To do commands in DOS most times I have to have the CapsLock key turned on or it won't work. And then sometimes it won't work and sometimes it will with games using the alphabetic keys (it's hit or miss). Since your sidescreen-key version doesn't have CapsLock, that was one of the reasons why I haven't used it. Looks nice though. Other than that, DosBox seems to work fine in OS2008.

ArnimS
02-13-2008, 11:27 AM
could you also run them in comparison to the latest version of the OS 2007 software?
There's no reason to. I posted these as references to people who might want to do similar tests. One thing that does seem clear is that for Doom at least, cpu=simple is much faster than either 'normal' or 'full'.

Would I see a better performance if I went ahead and upgraded?
Yes

I posted this earlier, but your mapper keys for the cycles, for some reason, isn't working again. I don't know what happened because there's nothing that stands out on what I'm doing differently than before.
I just confirmed that latest hosted build http://pupnik.de/dosbox_N8x0.tgz works with the mapped keys (cycle up/down and fullscreen toggle). I don't know why they stopped working for you. If you inadvertently changed something then
make sure you are launching the latest dosbox
redownload the mapper.txt
make sure that .dosboxrc or dosbox.conf points to the mapper

Don't get me wrong on this, your releases are extremely cool. The only thing is, you usually have very poor documentation for extreme newbies, such as myself

Acknowledged.

These newbie difficulties occur because there is no gui frontend.

There are things standing in the way of a gui-frontend.

DosBox as-is runs too slow on the N8x0s for everything but cga/pcspeaker era games.

An effective gui frontend will need configuration profiles and mappers for various games.

Creating these profiles with a broken/slow core dosbox build is useless because when that is fixed, they will all need to be redone.

so....

I'm trying to fix the sound/performance problem so that at least 286-class games using vga/ega and sound blaster can run playably.

spirytsick
02-13-2008, 06:43 PM
No f4ck it, i don't give a f4ck about anybody.

i don't owe anyone anywhting/ eat rice.

Something must have gone seriously wrong...

Pushwall
02-13-2008, 07:10 PM
Something must have gone seriously wrong...
Hope not. I've heavily relied on ArnimS's expertise on helping me get this cool gaming stuff running on my N800 and owe a ton of thanks. I hope ArnimS is okay and everything is fine.

OSEmuTech
02-13-2008, 07:16 PM
It's really remarkable how much Arnim has given to us lately, besides all the awesome work on DOSBox.

New Port: Warzone 2100 (http://www.internettablettalk.com/forums/showthread.php?t=16502)

New Port: Jagged Alliance 2 Engine (http://www.internettablettalk.com/forums/showthread.php?t=16138)

New Game: OpenTyrian 2D space shoot-emup! (http://www.internettablettalk.com/forums/showthread.php?t=16101)

ArnimS
02-14-2008, 11:33 AM
It's really remarkable how much Arnim has given to us lately, besides all the awesome work on DOSBox.

New Port: Warzone 2100 (http://www.internettablettalk.com/forums/showthread.php?t=16502)

New Port: Jagged Alliance 2 Engine (http://www.internettablettalk.com/forums/showthread.php?t=16138)

New Game: OpenTyrian 2D space shoot-emup! (http://www.internettablettalk.com/forums/showthread.php?t=16101)

The first two are not by me. I just got the priveledge of announcing/hosting them. And sorry for the rant... ignore.

spirytsick
02-14-2008, 11:41 AM
The first two are not by me. I just got the priveledge of announcing/hosting them. And sorry for the rant... ignore.

Thank The Maker... Welcome back.

ArnimS
02-14-2008, 09:38 PM
Here's a fairly typical oprofile run for recent dosbox
running wing commander, vga, cycles 1600, frameskip 5 sound is somewhat sputtery. The breakdown was pretty surprising to me - due to high frameskip and dirty buffer technology vga and screen blits accounts for only a few percent of the cpu use.

CPU: ARM V6 PMU, speed 0 MHz (estimated)
Counted CPU_CYCLES events (clock cycles counter) with a unit mask of 0x00 (No unit mask) count 100000
samples % app name symbol name
790837 37.7594 dosbox CPU_Core_Simple_Run()
205133 9.7943 dosbox OPL2::YM3812UpdateOne(int, short*, int)
141333 6.7481 dosbox mem_writew(unsigned int, unsigned short)
139735 6.6718 no-vmlinux (no symbols)
139255 6.6489 dosbox mem_readw(unsigned int)
80063 3.8227 dosbox VGA_ChainedVGA_Handler::writew(unsigned int, unsigned int)
48412 2.3115 dosbox DoString(STRING_OP)
41582 1.9854 dosbox FillFlags()
36618 1.7484 oprofiled (no symbols)
24928 1.1902 dosbox CPU_Push16(unsigned int)
23724 1.1327 libSDL-1.2.so.0.7.1 (no symbols)
23586 1.1261 libc-2.5.so (no symbols)
21747 1.0383 dosbox get_CF()
21385 1.0210 dosbox get_ZF()
20214 0.9651 libm-2.5.so (no symbols)
18982 0.9063 dosbox EA_16_06_n()
17843 0.8519 dosbox EA_16_46_n()
14050 0.6708 dosbox EA_16_87_n()
12277 0.5862 esd __udivsi3
11886 0.5675 dosbox mem_readb(unsigned int)
11750 0.5610 esd mix_stereo_16s_to_stereo_32s_sv
10450 0.4989 libpthread-2.5.so (no symbols)
9641 0.4603 dosbox CPU_Pop16()
9593 0.4580 dosbox vga_read_p3da(unsigned int, unsigned int)
9429 0.4502 dosbox CPU_SetSegGeneral(SegNames, unsigned int)
9387 0.4482 dosbox CPU_IO_Exception(unsigned int, unsigned int)
8710 0.4159 dosbox read_latch(unsigned int, unsigned int)
8610 0.4111 dosbox CPU_CALL(bool, unsigned int, unsigned int, unsigned int)
8609 0.4110 dosbox RENDER_StartLineHandler(void const*)
8531 0.4073 dosbox Normal1x_8_16_R(void const*)
8445 0.4032 esd mix_players
7688 0.3671 dosbox PIC_RunQueue()
7181 0.3429 dosbox counter_latch(unsigned int)
6856 0.3273 dosbox IO_ReadB(unsigned int)


What does it all mean? Well it does give us an indication of why sound blaster emulation requires reducing CPU cycles so much.

wangych
02-15-2008, 05:38 AM
Hi ArnimS,

Thank you first for the great job, I really enjoy Dosbox but still have the same issue that the mouse cursor doesn't follow the stylus. I searched in this thread but couldn't get an answer. Could you please let me know it will be fixed or there exists some solution already? Thank you. It's quite annoying because one of my favorite DOS games is heavily relied on Mouse.

-Yichun.

Addison
02-15-2008, 05:41 AM
Greetings again ArnimS.

Hey, I sort of felt that your recent mental snap had something to do with a post I made earlier on in this thread.

I know that you just said for your comment to be ignored, but for some reason, I feel like that's not enough to resolve what you said.

Your suggestions on how to correct the mapper.txt function, I already tried them all even before your reply. I'm not one to immediately run to this site and complain about something going wrong. I first try to work the problem before posting here.

With that being said... Yeah, there is some weird, little bug in your build, I just can't seem to place it.

I've got a ton of possibilities on what might be the cause of this, but my best guess is that it has something to do with the fullscreen option in Dosbox. Honestly though, I could care less about that.

Your comments using the F bombs and on eating rice.... well, first off, I've never heard that expression before. To me, it seemed like it was either an Eitheopean slur or an Asian racial disparagement.

I'm not judging you on what you said, only because I couldn't understand it.

If this had nothing to do with what I posted earlier, I will give you my fullest apologies for this current post.

However, If it was something that I did in fact say, well, next time, at least give me the chance to apologize first. :)

I still think of you as a good person and a nice friend that helps me whenever I ask a stupid question, so no hard feelings, okay?

I hope things are going well for you.

Cheers buddy. :)

JFX
02-16-2008, 02:23 AM
hello hello... HOW do i install this beautiful program onto my beautiful new N800 tablet? I've downloaded almost every file on the source site by you arnimS.. I've also scanned through every single page on this thread.. So anyone have nice straight through directinos I and others can use , what to download, what to install and how, to get dosbox working the best it can so far on the N800? Any help. MUCH.. appreciated.

ArnimS
02-16-2008, 06:41 PM
hello hello... HOW do i install this beautiful program onto my beautiful new N800 tablet? I've downloaded almost every file on the source site by you arnimS.. I've also scanned through every single page on this thread.. So anyone have nice straight through directinos I and others can use , what to download, what to install and how, to get dosbox working the best it can so far on the N800? Any help. MUCH.. appreciated.

Ok, today I made a new version that should be a simple one-click install.


Go to http://pupnik.de/dosbox.html in your tablet browser,
click on the OS2008 .deb

No messing with config files, necessary. It should work regardless of whether you are on N800 or N810, OS2007 or 2008. If you have a problem, post it here.

This version fixes the N810 keyboard problem with the missing number (fn key). Also adds some minor optimizations.

I've been able to get mouse working accurately in two mouse games so far. DOSBox can auto-calibrate mouse to screen dimensions. To do this drag stylus slowly across the fullscreen game window, left to right and top to bottom; you may need to do this more than once. If you find that mouse is traveling only in upper-left hand corner, then you'll need to edit dosbox.conf to scale the mouse motion. For example Betrayal At Krondor needs sensitivity=200, but then the mouse positioning is ~perfect~!

Pushwall
02-17-2008, 12:21 AM
Oh wow, thanks! :cool: I'm off to try this new version out right away!

Bundyo
02-17-2008, 03:06 AM
Arnim, i can report that this new version doesn't take game as an argument and doesn't automount its directory. :(

wangych
02-17-2008, 04:13 AM
I just tried the new dosbox build with my dos game, the mouse can only follow stylus on X-axis, after changed to "sensitivity=200", it can follow on Y-axis, the resolution of my game is 640x480. Is there any option like y-sensitivity?

Thanks,
-Yichun.

ArnimS
02-17-2008, 12:13 PM
Thanks for the feedback!

Arnim, i can report that this new version doesn't take game as an argument

Fixed. dosbox now takes arguments again.
and doesn't automount its directory. :(
Fixed. DOSBox now detects and automounts any directories named 'DOS' or 'dos' on your mmc1 and mmc2 starting at drive D: drives A, B and C are free to specify.

(edit) Poll: What do you want most for next release?

Dosbox Frontend with game profiles
Right mouse button support
Tasklist integration and minimize support
Integration of Xkbd into package (good/bad idea?)

ArnimS
02-17-2008, 06:09 PM
I just tried the new dosbox build with my dos game, the mouse can only follow stylus on X-axis, after changed to "sensitivity=200", it can follow on Y-axis, the resolution of my game is 640x480. Is there any option like y-sensitivity?

Thanks,
-Yichun.

I looked at source code (mouse.cpp). From the comments I see that several games have mouse problems (related to DOSBox, not necessarily tablet related). Does the game run ok on PC dosbox? What is the game name? Perhaps the forums have an answer:
http://vogons.zetafleet.com/viewforum.php?f=31&sid=dac2482b6aa8ac8831a7adad4097a270

Addison
02-17-2008, 08:35 PM
Okay, so I finally upgraded to 2008 OS. Can I get a witness? :D

Well, you know me, I've got 18 heptendecillioin issues already. :o

What do I use for the virtual keyboard now? Xkbd from your site isn't installing.

The dependencies:
http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb
and
http://repository.maemo.org/pool/maemo3.0/free/binary/libxpm4_3.5.4.2-3_armel.deb
are also saying that they're incompatible. Nuts....

Your cycles up and down buttons work terrific now, but how can I edit them to make smaller increments/decrements? I was thinking of something as little as a 2% change each time. Your Dosbox download didn't come with the mapper.txt file this time, so I'm not too sure where to look for it or how to edit it once it's found.

Can I still overwrite your dosbox.conf using this command?
cp /media/mmc2/dosbox.conf /home/user/.dosboxrc
You pulled the sample dosbox.conf file off your site so this has me a little confused on what to do especially since your saying something now about "/usr/bin/dosbox".

Well, hope to hear back from you sometime within the near, immediate future. This still is my favorite thing to waste time on. :)

klinglerware
02-17-2008, 08:48 PM
What do I use for the virtual keyboard now? Xkbd from your site isn't installing.

The dependencies:
http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb
and
http://repository.maemo.org/pool/maemo3.0/free/binary/libxpm4_3.5.4.2-3_armel.deb
are also saying that they're incompatible. Nuts....



I managed to install Dosbox and Xkbd from Armin's site last night. Xkbd required a few attempts but I still managed to get it installed solely with the application manager (I'm still on the noobish side and haven't tried doing anything with xterm yet).

For xkbd install using the application manager, you have to be in red pill mode to install the two dependencies required for xkbd. It wouldn't let me it install it the first time, since I was missing "libxau0". I had to add the maemo Bora repository (which also required several attempts, but magically worked after a few tries) to get the missing item. After that, xkbd installed without incident.

Anyway, DosBox is working well for me. Thank you Arnim for packaging this in a way that's easy for a novice to work with.

Incidentally, is there a way to input function keys using xkbd?

Addison
02-17-2008, 08:55 PM
Ah, I totally forgot about red pill mode.

Thanks dude!

Addison
02-17-2008, 11:11 PM
Oh hey! I just had a great idea!

For those of us that don't know how to go through folders and edit junk using Xterm and linux commands, what do you think about putting the Dosbox.conf and mapper.txt file in the "Documents" folder?

That way, one could easily edit those two files using the "Notes" program on the Nokia.

Yeah? :)

OSEmuTech
02-17-2008, 11:41 PM
I use the excellent GUI file manager called emelFM2 to move and edit files anywhere on my N800. (Usually for editing the configuration files for DOSBox and BasiliskII.) Just play around with emelFM2 for awhile to learn how to use it. It's easier then typing a lot.

https://garage.maemo.org/projects/emelfm2/

Pushwall
02-18-2008, 09:15 AM
(edit) Poll: What do you want most for next release?

Dosbox Frontend with game profiles
Right mouse button support
Tasklist integration and minimize support
Integration of Xkbd into package (good/bad idea?)


That idea of a Dosbox frontend with game profiles is a great idea. The other piece of that frontend that would be extremely helpful would be having the integration of Xkbd that has various keyboard layouts to choose from (default, flat bottom, left side, right side, one that has function keys, custom, etc.). Being able to choose one that has function keys would be great since I'm always pulling up Xvkbd which does have these, but it is very cumbersome switching back and forth. It would also be nice to have a version of Xkbd that fully works.....I have to set Caps-lock key on most of the time for it to work. And if that doesn't work while playing a game, the use of Xvkbd in most cases does seem to work.

So to sum up....my vote is for a Dosbox frontend that has both game profiles and an integrated Xkbd that works well and has different keyboard layout options. Not much to hope for, huh? ;)

rdcinhou
02-18-2008, 02:01 PM
I vote for xkbd integration as a MANDATORY feature. But you need to fix the problems with xkbd (unshifted text being processed as "ENTERS"). Also some function key support would be nice.

I also would like some type of processor control:

1. When the program no longer has focus, let the application "sleep" so that you don't peg the CPU.

2. Introduce a menu option for variable sleep cycles as the CPU seems pegged due to the polled I/O function (looking for keystrokes). The program I want to run are not games, so they don't have a lot of graphical interaction (they are in text mode), and they were plenty fast enough on a 8 MHz 80x86 PC. I'd rather go for battery life than display update.

jethro.itt
02-18-2008, 02:04 PM
Poll: What do you want most for next release?

Dosbox Frontend with game profiles
Right mouse button support
Tasklist integration and minimize support
Integration of Xkbd into package (good/bad idea?)


"Tasklist integration and minimize support", definitely! It's too easy to lose DOSBox currently. "Right mouse button support" would also be nice, someday.

Don't need Xkbd, N810 keyboard will do just fine...

JFX
02-19-2008, 04:39 PM
Hate to bring this up for the millionth time. Xkbd, how to use it with dosbox, I finally got it working on my own, installing all sorts of files from arnimS site. (I have '08 on N800) So i can start it up from Xterm typing xkbd and it will stay on as long as xterm is up, but when i go to run dosbox its all messed up, as in no letters type letters, just ! ! or something.. it's not how it should be, and I don't know what else to do now.

OSEmuTech
02-19-2008, 04:47 PM
xkbd used to work for me. Now even after a fresh OS2008 reflash it types "/" instead of letters unless I put on capslock.

Pushwall
02-19-2008, 04:54 PM
Try turning the Caps-lock key on and it should work. Play with the shift key too for small letters. It's one of those quirky things that's not fixed yet for OS2008.

JFX
02-19-2008, 05:03 PM
Hey thanks for the quick replies Pushwall and OSEmuTech! I rebooted it and it instantly works perfect, and in full screen for dosbox too, which I'm happy about. Now I'm going to figure out this mounting stuff. Thanks guys.

ArnimS
02-19-2008, 05:55 PM
Errgh. put all yer gamezz into a subdirectoriess (folders y'all) called DOS (or 'dos') on one o' yer SD card. arrr.

Let me know what you want and i'll try to budget a night for another release. Don't ask me to make it faster though. I spent like 4 days getting this extra 5-8%.

Btw Tak's fceu NES emulator goes into pause mode when the screen blanks. That's way cool. Gonna make dosbox do that too.

Pushwall
02-19-2008, 06:00 PM
Fixed. dosbox now takes arguments again.

Fixed. DOSBox now detects and automounts any directories named 'DOS' or 'dos' on your mmc1 and mmc2 starting at drive D: drives A, B and C are free to specify.

Hey Arnim thanks for the latest version. The automounting script is pretty cool. And with your latest optimizations, I was playing Apogee's Secret Agent game and is was like I had an old PC in my hands with all the cool PC game sounds it was making....wow that brought back the memories. It's amazing how fun the early Apogee scrollers are and how well they run in Dosbox. Anyway, thanks again! :cool:

JFX
02-19-2008, 06:19 PM
Could you make it faster arnim?? Just kidding, I wish I could help ya with it. Can't just cant. I just enjoy your work. That's the best i can do. Thanks man!!

Addison
02-19-2008, 09:18 PM
Let me know what you want and i'll try to budget a night for another release. Don't ask me to make it faster though. I spent like 4 days getting this extra 5-8%.

I mentioned this before, be will say it again in case it got overlooked.

The only big thing I'm hoping for, which shouldn't be too difficult, is to shovel the Dosbox.conf and mapper.txt file in the "Documents" default folder so it's easier for newbies to edit them using the "Notes" utility program on the Nokia.

I wouldn't mind seeing Xkbd work better on the OS 2008 upgrade, but that probably has more to do with the creator cme (I don't think he's been around for awhile now) would wrote Xkbd than anything else, so I'm really not expecting too much on that.

GeneralAntilles
02-19-2008, 09:23 PM
The only big thing I'm hoping for, which shouldn't be too difficult, is to shovel the Dosbox.conf and mapper.txt file in the "Documents" default folder so it's easier for newbies to edit them using the "Notes" utility program on the Nokia.

Er, Notes saves to HTML . . . and breaking UNIX conventions to make things "easier" for newbies is stupid.

sherifnix
02-19-2008, 09:30 PM
Er, Notes saves to HTML . . . and breaking UNIX conventions to make things "easier" for newbies is stupid.

2 words. User friendly.

Come on now :)

GeneralAntilles
02-19-2008, 09:41 PM
2 words. User friendly.


You're not seriously saying that, are you? User friendly is putting together a nice GUI to control the settings. User friendly is not breaking UNIX and platform conventions. Breaking UNIX conventions only manages to make things harder for people who actually have some kind of a clue what they're doing, while simultaneously preventing newbies from learning how things work with every other piece of software.

I say again: bad, stupid idea.

Navi
02-19-2008, 10:33 PM
2 words. User friendly.
If users can figure out how to both install dosbox and use applications inside, they sure as hell will be able to figure out or even know how to find and edit a configuration file. There is no amount of "user friendliness" that can accommodate stupidity, end of story.

sherifnix
02-19-2008, 11:08 PM
If users can figure out how to both install dosbox and use applications inside, they sure as hell will be able to figure out or even know how to find and edit a configuration file. There is no amount of "user friendliness" that can accommodate stupidity, end of story.

I suppose we can go with that old saying:

You can fix ignorance, but you can't cure stupid.

Pushwall
02-19-2008, 11:21 PM
IMO the only way I think to make Dosbox somewhat user friendly for newbies is to have a frontend that runs in OS2008 like one of these:
http://www.dosbox.com/wiki/DOSBoxFrontends
And Arnim already mentioned that as a possibility for the future which is cool.

I was testing Dosbox tonight and it is running much better with the latest release. I was testing out old Apogee games, and all these run fairly well: Paganitzu, Secret Agent, Crystal Caves, Duke Nukem 1 & 2 (scroller not 3D), BioMenace, Paganitzu, and Cosmo's Cosmic Adventure. BioMenace ran extremely slow previously as well as Cosmo. Cosmo is now just a tad slow but it is very playable and fun. And of course all the Keen games run well now too, Keen 1-3, 3.5, 4-5. Great job on the fine-tuning Arnim! :)

The only thing with playing these games on my N800 is the controls, since the tablet is not set up for gaming in mind. Man I wish the controls were laid out like my Tapwave Zodiac2,....it would make it a much better playing experience. But to be able to have my N800 play these old favorites is pretty awesome indeed.

Addison
02-20-2008, 05:29 AM
Just a friendly, non harmful, comment to sherifnix's post...

You can fix ignorance, but you can't cure stupid.

What makes you think a stupid person will always stay that way? This sounds rather bleak to be honest here. I've heard this expression before, and to me, I find that saying itself to be ignorant.

Okay, so I associate Linux with a great Counterstrike server, and that's about it in a nutshell. Anything beyond that knowledge I'll probably never understand.

Sure there's stupidity on how I view Linux or whatever it is that drives my Nokia, but you're missing the main point here. Even stupid people can follow simple directions, probably even more so since they can't think independently for themselves and challenge whatever it is that you're saying.

Good documentation followed with screenshots and crayon drawings is something I could probably walk my way through if correctly explained in this way. :)

Unfortunately you just can't find this type of simple comfort here on these forums, or at least, I don't know what keywords I need to use to search for it.

Well, I was using "Notes" to edit the mapper.txt and Dosbox.conf settings, not realizing the integrity of these files were being compromised until now. I think that's why I broke it earlier in a post I made a few pages back and couldn't understand what happened.

As of right now, I don't even know how to edit these two files anymore since I'm not seeing what commands are needed to view and change them with this latest build for Dosbox.

I'm a nice person, but seriously, all of you smart people are driving me crazy! :)

GeneralAntilles
02-20-2008, 06:04 AM
As of right now, I don't even know how to edit these two files anymore since I'm not seeing what commands are needed to view and change them with this latest build for Dosbox.


Go forth and education yourself! (http://www.physics.ubc.ca/mbelab/computer/linux-intro/html/)

Nothing comes for free. (http://www.uic.edu/depts/accc/software/unixgeneral/vi101.html) :)

Pushwall
02-20-2008, 09:21 AM
Well, I was using "Notes" to edit the mapper.txt and Dosbox.conf settings, not realizing the integrity of these files were being compromised until now. I think that's why I broke it earlier in a post I made a few pages back and couldn't understand what happened.

As of right now, I don't even know how to edit these two files anymore since I'm not seeing what commands are needed to view and change them with this latest build for Dosbox.

Addison, with the latest Dosbox update the dosbox.conf and mapper.txt files are located in '/usr/share/dosbox/'. I edit these via command-line using the vi editor, or much easier....just by running emelFM2 and using its built-in text editor. Another easy way to edit is on your PC by accessing the files with WinSCP (lots of threads about this).

Karel Jansens
02-20-2008, 09:29 AM
You can fix ignorance, but you can't cure stupid.What makes you think a stupid person will always stay that way? This sounds rather bleak to be honest here. I've heard this expression before, and to me, I find that saying itself to be ignorant.

Stoopid is gennitick.

ArnimS
02-20-2008, 09:38 PM
Well, I was using "Notes" to edit the mapper.txt and Dosbox.conf settings, not realizing the integrity of these files were being compromised until now. I think that's why I broke it earlier in a post I made a few pages back and couldn't understand what happened.


Ah thanks for mentioning that.

That's the reason for removing references to the config files and setting up dosbox to be as optimal as possible 'out-of-the-box'.
Casual users don't want to have to muck about with that stuff.

Releasing something that requires people without much linux experience to deal with this sort of thing is what's 'stupid'. I think it's inaccurate to call someone stupid if they don't happen to share one's own skillset. Do economists or biologists take this attitude? No...

I hope to have a frontend working sometime this weekend. Oh and suspend-to-disk would be fantastic too, so we can close it and resume a game later. But I don't know if that's really doable. I don't know how long anything is going to take. I'm working on squishing bugs elsewhere at the moment.

bluesubaru
02-20-2008, 10:06 PM
Is there a README that explains where all the config files are and what the general option for them are? I looked on the site and did not see one.

Also, can xkbd work on OS2008? I see .debs for 2006 & 2007. If not, what are the keyboard options for 2008 (N800)?

edit: on further review I see the 2006 & 2007 debs are for the libraries that those OS' need, but I still am not sure if xkbd will work with 2008


Sorry if these have been answered before, but a search didn't come up with good answers.

JFX
02-20-2008, 10:35 PM
The dosbox.conf file is in /usr/share/dosbox/ at least for me it is, I've been editing it on my PC then copying it onto my card then dragging from the mmc card using emelFM2 File manager to drag from the card to the dosbox directory and replacing it, I've been trying different options within the conf file all day.

And the Xkbd does work with the 2008os, takes a few thousand (not really) files installed to get it working, but it does work. Also you will need to use it in caps lock mode so it works, some sort of glitch in this release isn't completely compatible for 08 I guess. So yes it does work, I'm using it right now, and finally I understand mounting in dosbox.

Addison
02-20-2008, 11:58 PM
I hope to have a frontend working sometime this weekend. Oh and suspend-to-disk would be fantastic too, so we can close it and resume a game later. But I don't know if that's really doable. I don't know how long anything is going to take. I'm working on squishing bugs elsewhere at the moment.

Fire up!

Now I don't have to learn me Linux and can remain stuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuupid. :D

qole
02-21-2008, 07:36 PM
Applications that I've tested and work ... Windows for Workgroups 3.11 (mouse has problems releasing windows)

I would love to get Win 3.11 running. I would want the TCP stack, Win32s, and some basic (for this century) apps like the last Mozilla browser capable of running on good old 3.11 and a Word doc reader. I read about your attempts to get Win98 running on another DOS emulator, so I've scaled back my expectations to what I've listed above.

OSEmuTech
02-21-2008, 08:19 PM
I need to play around with DOSBox some more this weekend.

For future reference ...

Netscape Navigator 4.0.7 for Win16: http://browsers.evolt.org/?navigator/16bit/4.07

Last Microsoft Win32s version 1.30c: http://ftp.urc.ac.ru/pub/OS/Windows/net/messengers/ICQ/pw1118.exe

TCP/IP-32 3.11b for Windows for Workgroups: http://download.microsoft.com/download/wfw311/update/3.11b/wfw/en-us/tcp32b.exe

Microsoft Internet Explorer 5.0.1 (LOL): http://browsers.evolt.org/download.php?/ie/16bit/5.01/ie501.zip

timmbacca
02-22-2008, 01:47 PM
Dosbox is pretty sweet. I can run the old digital paint 2 on it and even autodest animator pro. However the pointer in animator pro won't calibrate for me but the calibration method works for dpaint 2.
Is there another way to calibrate the pointer?

Also, does anyone remember the adult answers to the beginning of LSL3?;)

Pushwall
02-22-2008, 03:05 PM
Also, does anyone remember the adult answers to the beginning of LSL3?;)
The beginning of this LSL3 FAQ tells you all you need to know:
http://www.gamefaqs.com/computer/doswin/file/565082/14029

kitsu
02-23-2008, 05:23 PM
Calibration doesn't work for me in any application so far. It is interesting though that while the apps I've tried are starting a normal cursor shows and tracks perfectly until the app cursor appears, from that point the stylus moves the cursor with a strange offset. If I start in the top left corner of the screen and move toward the bottom right the cursor moves further and further ahead of the stylus until it sticks in the corner, then repeats in reverse if I go back to the top left. It is like the cursor position needs to be downscaled to the DOS applications screen resolution?

ArnimS
02-26-2008, 11:29 PM
Announcing ukki's Rubybox! It is a dosbox frontend written in Ruby that allows you to launch games with the stylus, and to set up game/program profiles with customized dosbox options.

http://pupnik.de/RubyBox_001.jpg

Why do you want this? DOSbox games responsivieness varies greatly with the configuration options, and manually creating different profiles for each is time-consuming and error-prone.

To set up a new game. Select 'New game', Enter a title in the top box and click 'Browse' and select the dos application you want to launch. Save the configuration then click on the game and select 'Run' to launch it.

To change settings, select a game, select 'Game settings', click on the setting you want to change and then click on the value. Type in the new value and hit save. For example, in the above screenshot I changed the dosbox machine type from vga to "tandy" because Ultima 5 doesn't use vga colors and runs a lot smoother with a tandy adapter.

Rubybox requires two ruby packages:
ruby1.8
ruby1.8-maemo
To install these on OS2008, click on the following link to the .install file for the GPL Systems Repository (repository containing ruby) then in application manager go to the section 'programming' and install the ruby packages.

http://gronmayer.com/it/dl.php?id=216

http://pupnik.de/rubybox_0.1.deb

Calibration doesn't work for me ... It is like the cursor position needs to be downscaled to the DOS applications screen resolution?

Rubybox was made for you! Go into game settings: basic settings and select sdl sensitivity. Change the value from 100 to 200, hit save, and try the game again. The value divided by 100 is the mouse scaling factor, i.e. 100 = 1.0, 200 = 2.0 times mouse speed.
(edit) If you have OS2007 please let us know if the Rubybox deb installs, and where to find ruby packages for it :)

Addison
02-26-2008, 11:41 PM
Joy!

You posted this just in time!

This should make good use on my trip to Florida tomorrow.

You sir, deserve a salute!

Sir, yes sir!!!!

Pushwall
02-27-2008, 09:42 AM
It is a dosbox frontend written in Ruby that allows you to launch games with the stylus, and to set up game/program profiles with customized dosbox options.

This is HUGE! Wow, this makes it so much simpler running DOS games. Set them up the way you want them, and then you've got a menu to run them....nice! I like being able to have a different mapper.txt file too based on the game. Some of those old DOS games don't let you reconfigure keys within the game so this will make it much easier to have a unique mapper.txt file for that game (especially useful for N800 users like me when I don't have my bluetooth keyboard handy).

I do have questions concerning the Basic and Advanced settings area. Are all those settings that are shown the settings that are in the default dosbox.conf file? Do I only have to enable the ones that I want to change from what is shown, or do I have to check the enable box to turn on the setting that is shown? I'm guessing I only need to check the enable box for changes, but I just wanted to be sure.

All in all, very nice. Thank you!!! :cool:

ArnimS
02-27-2008, 10:28 AM
I like being able to have a different mapper.txt file too based on the game. Some of those old DOS games don't let you reconfigure keys within the game so this will make it much easier to have a unique mapper.txt file for that game.

Yes. Especially for those pesky function-keys.

And it should be possible to fix dos keymaps for different N810 keyboard language layouts. This seems to be a missing feature in the OS2008 libSDL1.2 but I'm not sure. If anyone makes a mapper.txt fixup for their N810 keyboard please post here.


Are all those settings that are shown the settings that are in the default dosbox.conf file? Do I only have to enable the ones that I want to changeThank you!!! :cool:

Yes. Yes.

Hopefully this will also make it easier for people to share discoveries about which settings work best for particular games and share them over in the tweaks thread:
http://www.internettablettalk.com/forums/showthread.php?t=15459

multi
02-27-2008, 11:07 AM
any tips for running old 3d fps like heretic ,duke3d or rott?

I can run them with rubybox but not much better than in dosbox.. vga looks nicer.. but still totally lagged

Pushwall
02-27-2008, 12:14 PM
Hopefully this will also make it easier for people to share discoveries about which settings work best for particular games and share them over in the tweaks thread:
http://www.internettablettalk.com/forums/showthread.php?t=15459
Thanks for the info. I'm already testing settings flipping in and out of games. Very quick and easy.

bluesubaru
02-27-2008, 12:31 PM
Rubybox requires two ruby packages:
ruby1.8
ruby1.8-maemo
To install these on OS2008, click on the following link to the .install file for the GPL Systems Repository (repository containing ruby) then in application manager go to the section 'programming' and install the ruby packages.

What exactly is ruby? What is installed with the above packages?

kitsu
02-27-2008, 12:47 PM
Ruby is an interpreted programming language like Python (well not like Python, but of a similar type as Python ;)). When you install the above it installs the frontend program and the interpreter to run it on.

Thanks for the script! I already had sensitivity set to 200, which I guess was the problem. Now I'll be able to figure out the right sensitivity per game. (Also why is it called sensitivity if it is actually the coordinate scale factor?)

qole
02-27-2008, 04:28 PM
I need to play around with DOSBox some more this weekend.

For future reference ...

Netscape Navigator 4.0.7 for Win16: http://browsers.evolt.org/?navigator/16bit/4.07

Last Microsoft Win32s version 1.30c: http://ftp.urc.ac.ru/pub/OS/Windows/net/messengers/ICQ/pw1118.exe

TCP/IP-32 3.11b for Windows for Workgroups: http://download.microsoft.com/download/wfw311/update/3.11b/wfw/en-us/tcp32b.exe

Microsoft Internet Explorer 5.0.1 (LOL): http://browsers.evolt.org/download.php?/ie/16bit/5.01/ie501.zip

So, did you try any of those browsers under DosBox yet? What's the experience like? Is it even possible to get TCP/IP networking up and running?

And now that we have RubyBox, could you (anyone) post the ideal settings for Win3.11?

OSEmuTech
02-27-2008, 06:11 PM
So, did you try any of those browsers under DosBox yet? What's the experience like? Is it even possible to get TCP/IP networking up and running?

And now that we have RubyBox, could you (anyone) post the ideal settings for Win3.11?

I haven't tried it yet. I hoped someone else would. :p

From http://en.wikipedia.org/wiki/DOSBox
"Network emulation: A component that differentiates DOSBox from other emulators is its ability to simulate peer-to-peer or Internet/Intranet networking. This includes modem (http://en.wikipedia.org/wiki/Modem) simulation over TCP/IP (http://en.wikipedia.org/wiki/Internet_protocol_suite), allowing for DOS modem games to be played over modern LANs or the Internet, and IPX (http://en.wikipedia.org/wiki/IPX) network tunneling, which allows for old IPX DOS multiplayer games to be played as UDP/IP over modern LANs or the Internet."
Thanks for the RubyBox Arnim! I downloaded it last night within minutes, then went to sleep. Still have to try it out tonight. :)

Addison
02-27-2008, 09:36 PM
So real quick here.

What are we supposed to use for a virtual keyboard?

I tried using Xkbd but it behaved like a spastic monkey. :eek:

OSEmuTech
02-27-2008, 09:45 PM
A spastic monkey on banana crack? :rolleyes:

That's just it ... xkbd is "broken" on OS 2008, so a BT keyboard or N810 is kind of required, though I guess even those aren't perfect on DOSBox.

If the Matchbox keyboard could be minimized, it might suffice.

I've been considering going back to OS 2007 again to be able to use xkbd with the emulator(s). (But I would really miss Evince.)

Pushwall
02-27-2008, 10:45 PM
Xkbd seems to work much better for me when Dosbox isn't in full screen mode, but it doesn't work for everything. So when some of the keys of Xkbd don't work in the DOS program I'm using, then I pull up Xvkbd and that seems to work. I dislike Xvkbd since it uses the entire screen and I have to maximize & minimize with it all the time and that sucks, but I use whatever works. As far as Matchbox goes, I had to uninstall it since it was screwing with my browser for some reason.....links wouldn't work and text selection was whacky too.

Oh if Xkbd would work in OS2008, it would be the icing on the cake for Dosbox. I'm sure it will be fixed eventually, and hopefully it'll be soon.

Addison
02-27-2008, 11:18 PM
Oh if Xkbd would work in OS2008, it would be the icing on the cake for Dosbox. I'm sure it will be fixed eventually, and hopefully it'll be soon.

You shouldn't worry much longer, I heard that OSEmuTech is all over this! :)

Oh, and speaking of the devil incarnate, where have you been?

I've got Evince working like fluffy cake on 2008 OS. I've been using it to review Guyton and Gangong (two of the best medical books in the world) for a few days now.

All I needed was the Evince install file. I didn't have to bother with even a single dependency such as winrar, winzip, libpop, etc....

Dude, you are seriously beginning to creep me out about brain.

I thought you were one of the smart guys here. :D

Anyway, I don't remember which file I used, but if one doesn't work, the other one will get you there the whole way through.
1036
1037


Well, don't expect to hear from me again for at least a week.

Viva Las Disney World on spring break!

All Seeing Pie
02-27-2008, 11:49 PM
Just want to say a huge thank you to all involved in this. Installed this last night and got Outrun working with no changes required. xkbd seems temperamental with the keys not mapping correctly sometimes but a reboot fixes that. Running this on the N800/OS2008.

dfinch
02-29-2008, 01:28 AM
Wow! Incredible. Thanks for the effort put into this.
Haven't played around with the settings but I was able to play Dangerous Dave (dave.exe) with a bluetooth keyboard.
FYI, I was able to type Function keys from my iGo keyboard by holding down the blue function key and pressing A = F1, S = F2 and so on along the row.

Pushwall
02-29-2008, 09:10 AM
FYI, I was able to type Function keys from my iGo keyboard by holding down the blue function key and pressing A = F1, S = F2 and so on along the row.
I just got an iGo and was wondering how to do that. You saved me from searching the forum. Thanks! :)

dfinch
03-01-2008, 02:37 AM
qole wrote...

Applications that I've tested and work:

Microsoft Macro Assembler (MASM) 6.11d
Windows for Workgroups 3.11 (mouse has problems releasing windows)
Microsoft C 6.0
Maplesoft Maple V5 3.0[/QUOTE]

Well I just installed Win 3.11 on my N810 and it's running well. It took a long time but gave no real errors during setup :). Not installed anything else under Windows yet.

Main problem is no mouse. I have an iGo Bluetooth keyboard and a gradually fading memory of all the old keystroke commands. But we really need a mouse to take advantage of the O/S.

Hey qole, what mouse did you use? How did you install? how did you physically connect it? Did you have a keyboard running at the same time? What is your social security number? (just kidding)

Now lets see if I can load a newer version of Windows and an old version of Pro Engineer !!!

BTW, I can run AutoCad 2002 under rDesktop tho the drawing area is so small due to the real estate taken by the menus and icons.

Well I'm a happy camper tonight. Cheers all.

Derek

Karel Jansens
03-01-2008, 09:21 AM
Does anyone feel like testing WordPerfect 5.1 (or sixOh!) in that dossy box?

jethro.itt
03-01-2008, 04:00 PM
Turbo C++ version 1.01 is freely available from http://dn.codegear.com/museum/antiquesoftware.

It installed just fine and I was able to compile some simple programs with it using the IDE. Touchscreen is accurate enough for the character-based UI:

http://www.nbl.fi/~nbl928/borland_tcpp101.png

ArnimS
03-04-2008, 11:01 AM
New dosbox release at http://pupnik.de/dosbox.html. I bundled Addison/OSEmuTech's vertical/left-hand-side keyboard map. You can now change the .xkbd map by editing /usr/bin/dosboxkbd to point to whatever .xkbd layoutfile and -geometry positioning you want.

Pushwall
03-04-2008, 12:02 PM
Extra nice! Another thank you! :cool:

OSEmuTech
03-04-2008, 12:11 PM
Yeah! I reflashed my N800 with OS 2008 this morning to test the new xkbd out. My fingers are crossed that the new version works better for those of us who have problems with the older version on OS 2008.

raskolnikov
03-04-2008, 05:16 PM
where can i get new version of xkbd? os2008
thanks

OSEmuTech
03-04-2008, 05:26 PM
The new version of xkbd is here: http://pupnik.de/xkbd_0.8.15m-2_armel.deb
The new version of DOSBox is here: http://pupnik.de/chinook/dosbox_0.72-0.2_armel.deb

raskolnikov
03-04-2008, 06:07 PM
thanks, but libxpm4 is required.. i'll try to find it
edit: i found it on http://pupnik.de/ but its not compatible with n800&os2008 (i download 2008 version)

OSEmuTech
03-04-2008, 06:12 PM
Great. You need to install the libxpm4 package using Red Pill Mode (http://hildon-app-mgr.garage.maemo.org/redpill.html).

Addison
03-04-2008, 06:54 PM
Excellent!!!

I'm grinning like crazy over this awesome new build!!! :D

Only one comment to make on this though.

The specific size of my custom keyboard now requires it to be launched like this:
xkbd -geometry +0+0 -k /media/mmc2/x.xkbd

That way it fits perfectly, but Xkbd won't accept that as an argument.

xkbd -geometry -1-1 -k /media/mmc2/x.xkbd and
xkbd -geometry +1+1 -k /media/mmc2/x.xkbd

these both offset the display by a single pixel so it doesn't fit perfectly like it could.

Is there any possibility to remove that part in the source code where it won't allow the "-geometry +0+0" command?

Sorry if this request is sounding incredibly anal. I'm certainly more than grateful on how far this project has come. I honestly couldn't be more happy right now. :)

Also OSEmutech's keyboard would look a little better as well too if it were to be launched from the starting point of X=0.

Anyway, awesome, awesome stuff ArnimS!

ArnimS
03-04-2008, 07:09 PM
Is there any possibility to remove that part in the source code where it won't allow the "-geometry +0+0" command?


I did check xkbd.c to see if it was preventing acceptance of a 0 offset, but it isn't. It passes the geometry values straight to the X server with the command.

XParseGeometry(geometry, &xret, &yret, &wret, &hret );

So xkbd isn't rejecting the 0 offset, the X server itself is. Why that happens is beyond me. Sorry.

Texrat
03-04-2008, 07:19 PM
If this keeps up I'll be writing QuickBasic programs for the tablets!

:D

qole
03-04-2008, 07:24 PM
Well I just installed Win 3.11 on my N810 and it's running well. It took a long time but gave no real errors during setup :). Not installed anything else under Windows yet...

Wonderful! Please install Win32s, TCP/IP stack, and Netscape (as referenced earlier in this thread (http://internettablettalk.com/forums/showthread.php?p=146036#post146036)). I'm simply DYING to know if they work and are usable, as are not a few others, I think!

qole wrote...

> Applications that I've tested and work...

Hey qole, what mouse did you use? How did you install? how did you physically connect it? Did you have a keyboard running at the same time? What is your social security number? (just kidding)

Hey Derek,

That wasn't me, it was OSEmuTech. I've been waiting for someone else to get this working first before I go chasing rainbows. I've spent a lot of time lately installing and configuring stuff, only to find that I just can't get it working...


Applications that I've tested and work ... Windows for Workgroups 3.11 (mouse has problems releasing windows)

Addison
03-04-2008, 07:28 PM
Oh hey ArnimS! Thanks for the quick response!

Well, this is probably an overbearing, petty request, but would it be possible to release a 2nd version of Xkbd for anal people like myself?

XParseGeometry(geometry, &xret, &yret, &wret, &hret );

So xkbd isn't rejecting the 0 offset, the X server itself is. Why that happens is beyond me. Sorry.

I was thinking of changing the source code to something like removing the whole geometry option and making it so that the keyboard always launches from a static position of 0,0.

I doubt you'll find this to be something of interest for you to do.

But hey, you know me, I just had to ask. :D

OSEmuTech
03-04-2008, 08:06 PM
I reflashed back to Bora. Unfortunately the new xkbd still was "buggy" on Chinook. The latest versions of DOSBox, xkbd, and RubyBox don't install on Bora though. But the older xkbd works great.

Addison
03-04-2008, 10:08 PM
Okay, you can forget that last request ArnimS.

I got the keyboard to fit perfectly now. :D

To launch my custom xkbd file from the left side it's:
xkbd -geometry +65536+65536 -k /media/mmc2/x.xkbd

To launch from the right it's:
xkbd -geometry +722+65536 -k /media/mmc2/x.xkbd


I did have to change the "Minimize" key to "Exit" because when the keyboard resized, something funky would happen with the text input.

So yeah, I'm totally pumped about this latest version!

Sorry to hear about your troubles OSEmutech. As long as you're not launching Dosbox in full screen mode, I don't know what could be wrong on your end in regards to Xkbd.

I've got basically a fresh 2008 OS installed just like you but I'm not having any problems that I'm seeing.

If I run into a bug that you're finding, I'll give you a post back here.

Until then, I'll be enjoying this newest build immensely and intensely. (That sounded a little sick didn't it?) :eek:

cLin
03-05-2008, 03:23 AM
So if I play a game on DOSbox, I need to install xkbd for keyboard support? ANd will it have some sort of save state option?

ukki
03-05-2008, 04:11 AM
OSEmuTech, RubyBox should work fine with Bora if you install the bora version of ruby-maemo.

ArnimS
03-05-2008, 04:41 AM
-geometry +65536+65536

Clever. Works great here too. (I prefer +65536+60). Thanks Addison.

Edit: ok yeah it's still flaky. The '-' key not working, shift key generates wrong characters and breaks subsequent input.

Edit, there's some kind of ability to power-down apps and save some kind of state in maemo. I don't know if it can totally save a program state to disk for restoring later.

DistantFire
03-06-2008, 05:22 PM
Hey guys, I apologize if I'm asking a question that's already been answered, but I haven't been able to find it in the forums...

Is there any way to adjust the font size of DOSBOX's display? It doesn't look like it's using the entire width of the screen and it would be much easier on my old eyes if I could expand the font size.

Thanks!

OSEmuTech
03-06-2008, 05:59 PM
OSEmuTech, RubyBox should work fine with Bora if you install the bora version of ruby-maemo.

Thanks. Would you happen to know where to get Ruby for Bora? http://gronmayer.com/it/ isn't showing anything available for OS 2007.

fpp
03-06-2008, 06:45 PM
Yes. Especially for those pesky function-keys.
And it should be possible to fix dos keymaps for different N810 keyboard language layouts. This seems to be a missing feature in the OS2008 libSDL1.2 but I'm not sure. If anyone makes a mapper.txt fixup for their N810 keyboard please post here.


Could you elaborate on this please Arnim ?

I have a French (AZERTY) N810 and it is not very usable as it is in Dosbox.

Letters and numbers (with Fn) are OK, but all other characters (punctuation etc.) are off, at least two keys at the lower right are totally inert, and some rather essential symbols for MS-DOS are missing (like dot, star and slash :-).

Strangely, if I issue the KEYB FR command, the letter keys are shifted to a QWERTY layout (!). The others are still off, but in different ways, so the missing symbols differ...

The fun thing is that you can get at the symbols from the missing fourth row of the keyboard (those with the numbers) by "chording" Fn-Shift-top row keys. Fun, but not very usable :-)

Any pointers to how I could try to correct some of this using a "mapper.txt", or even make some function keys ?

TIA,
fp

ukki
03-06-2008, 06:51 PM
Thanks. Would you happen to know where to get Ruby for Bora? http://gronmayer.com/it/ isn't showing anything available for OS 2007.

Arnims promised to host them soon but pm me if you are in a hurry.

ArnimS
03-07-2008, 07:32 AM
Ok have mirrored ruby files.

http://pupnik.de/ruby.html

Links also to other sites with more maemo ruby stuff at bottom.

"They can't put the maemo-ruby genie back in the bottle"

OSEmuTech
03-07-2008, 11:47 AM
Thanks Arnim. I was able to download 2 of the files, but the following link for libruby is broken.

http://pupnik.de/ruby/libruby1.8_1.8.6-p110-1_maemo3_armel.deb

Addison
03-07-2008, 08:36 PM
Hey OSEmuTech.

You know, I think I remember reading somewhere that the first 2008 beta version worked really well with Xkbd. Maybe that's something you could look into if you don't mind using an older version.

So, is there any way to pull up the default virtual keyboard while running Dosbox?

If there is a way to do this and keep it running, maybe we should look into modifying that keyboard instead, especially if it works while Dosbox is in full screen mode.

Here's a post I found:
http://www.internettablettalk.com/forums/showthread.php?t=14698

I've got a little free time the next few days. If you want, maybe you and I could get together some time and perhaps build a new keyboard using this method.

Any chance you'd be interested in this?


Oh and thanks ArnimS for being such a good sport about my previous posts on the keyboard being one pixel off and wanting to correct that.

I seriously was half expecting a response from you such as
"WTF OCD meds are you on mental boy?!!?!" :D

Cheers guys!

OSEmuTech
03-07-2008, 09:02 PM
Possibly. I work on Saturday and get drunk on Sunday (after 17 years I'm drinking again thanks to this tech support job). I just completed getting the Maemo 3.2 SDK installed on my crappy laptop running Windows 2000 and andLinux/Scratchbox. I was hoping to spend some time trying to port Basilisk II to Bora with full screen, GUI configurator, and hildonization. As the bulk of the programs I love work on OS 2007 and quite a few don't work on OS 2008 (yet?) I'll probably be sticking with Bora until I buy a second NIT.

Addison
03-08-2008, 05:45 AM
Well OSEmuTech, that's not going to work out very well since I'm also getting drunk on Sunday.

Now that you mention it, you probably could have rifled off any day of the week and I would still say the same thing. :D

I'm not proud of this, but I think that beer is about the only thing I ever eat these days. Never underestimate the power of denial! :)

So I won't bother you again while you're working on your current project, I just thought that perhaps we would make a good team together.

But now, realizing that both of us would probably be drunk every time we talked, maybe we shouldn't hook up.

Anyway, is there anyone that can get it up and keep it up?

Gentlemen, gentlemen, please.... I'm talking about the virtual keyboard you bunch of sick, filthy animals. :D

If someone knows how to get the keyboard to come up while in Dosbox, would you care to try this? I don't know the command to do so.

If it doesn't work, then we can forget this whole idea.

But yeah, someone please try to pull up the virtual keyboard while running Dosbox and see if this even does anything.

Thanks to whatever egghead that can do this. :)

Pushwall
03-08-2008, 11:22 AM
Gentlemen, gentlemen, please.... I'm talking about the virtual keyboard you bunch of sick, filthy animals. :D

If someone knows how to get the keyboard to come up while in Dosbox, would you care to try this? I don't know the command to do so.

Oh yes you would think there would be a way. There's got to be somebody able to figure this out. I've got a sinking feeling though if it could be done then ArnimS, our resident genius guru god of goodness, would have done it long ago. I'm still crossing my fingers though.

ArnimS
03-08-2008, 08:02 PM
Thanks Arnim. I was able to download 2 of the files, but the following link for libruby is broken.

http://pupnik.de/ruby/libruby1.8_1.8.6-p110-1_maemo3_armel.deb

Sorry. My bad... The files are up now.

If someone knows how to get the keyboard to come up while in Dosbox, would you care to try this? I don't know the command to do so.

Huh? Xkbd should launch upon dosbox start. Then you can minimize it and restore it. I don't understand what you want to do. If you want dosbox to launch with a different layout, then edit /usr/bin/dosboxkbd.

Addison
03-08-2008, 08:12 PM
Huh? Xkbd should launch upon dosbox start. Then you can minimize it and restore it. I don't understand what you want to do. If you want dosbox to launch with a different layout, then edit /usr/bin/dosboxkbd.

I'm talking about the default virtual keyboard that pops up whenever you want to type something in Notes, X-term, the internet, etc. I think it's called matchbox but I'm not sure.

But yeah, I was wondering if that keyboard can be pulled up during Dosbox, and if so, would it even work correctly.

Now do you get it?

ArnimS
03-08-2008, 08:36 PM
Oh, the standard hildon popup keyboard. Not gonna happen by my hand.

OSEmuTech
03-08-2008, 08:52 PM
Thank you Arnim!

But on the settings screen, should I be allowed to check more than one checkbox? I can only check one and after saving, then re-editing the checkbox isn't checked.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8hHb9Gv6U7Oph7FlHgCCOT_E-tpTbCRsRMoEU_a8Tzd2NqSJDzD51dPPERoOEVkQjuLA4b17OEU w/rubybox1.png

And when I click on Run, the GUI disappears for a split second, then reappears, with no DOSBox session (even when RubyBox is "minimized" so I can see what else is running).

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D9dOdhCVuAaNDrtef-dhMC8ZP9UKtxwMOAUkKYT_OFGHRrfPFEGnHeDXR5-j8MAxOwpiEatWmCMqA/rubybox2.png

It's no biggie to get it fixed (if it is broken on OS 2007) on my account as I can use an old program called Direct Access 5 as a semi-GUI for DOS.

I've been meaning to try out the free Calmira (http://www.calmira.de/) user interface for Windows 3.1x on DOSBox too.

http://www.calmira.de/screenshots/pcfreak1.gif

OSEmuTech
03-08-2008, 10:41 PM
O.K. I edited every option in settings in the hope that not having everything filled in was causing DOSBox not to launch. But it still doesn't launch.

And when I exit RubyBox and then relaunch it, the settings for the "game" are not saved from the previous session.

ukki
03-09-2008, 02:36 AM
I'll take a look at it with os2006.

Addison
03-09-2008, 05:26 AM
Oh, the standard hildon popup keyboard. Not gonna happen by my hand.

Ah crap... You're still not getting it.

All I'm asking for is if there is a way, possibly typing something magical in X-Term, that will pop up the keyboard just to see if this hildon thingie works together with Dosbox. It's just an initial experiment that I'm requesting here.

If it does work, then perhaps we could go to the next step which is modifying it's default layout.

I've got no problem editing the keyboard myself, but I probably will need a little help from my friend OSEmuTech since I'm a little fluffy on how to compile anything for the Nokia Tablet.

I'm not asking any extra work on your part ArnimS, but you're the brains behind most things around here.

So is it possible that this hildon pop up keyboard doohicker would work under Dosbox, and if it does, how much of the screen layout for the keyboard can be modified?

I'm totally willing to do this myself, I mean, though I don't know what the hell I'll be doing, I need to learn something eventually in my lifetime.

But before I try this, I just want to know if it's even a plausible idea.

Thanks for reading this long winded post of extreme nonsense. :D

Karel Jansens
03-09-2008, 07:14 AM
I've been meaning to try out the free Calmira (http://www.calmira.de/) user interface for Windows 3.1x on DOSBox too.

Try this (http://toastytech.com/guis/wps.html) one, it might be powerful fun...

OSEmuTech
03-09-2008, 10:12 AM
Try this (http://toastytech.com/guis/wps.html) one, it might be powerful fun...

That's cool. I immediately recognized the OS/2-ness of the free replacement Workplace Shell.

I own the retail PC Tools for Windows that site has a page about: http://toastytech.com/guis/cpdesk.html

More shell replacements: http://toastytech.com/guis/indexshells.html

Karel Jansens
03-09-2008, 12:27 PM
OK, I have to ask: Am I the only one seeing the irony of implementing an emulation of OS/2's Workplace Shell on an old graphical DOS shell running on an emulation of the DOS operating system on a recompilation of Linux for a non-Intel processor?

Texrat
03-09-2008, 12:30 PM
OK, I have to ask: Am I the only one seeing the irony of implementing an emulation of OS/2's Workplace Shell on an old graphical DOS shell running on an emulation of the DOS operating system on a recompilation of Linux for a non-Intel processor?

No. I'm enjoying the hell out of it. :D

fpp
03-09-2008, 01:14 PM
Naaah, all that new-fangled GUI stuff is still a trifle advanced for me. This weekend I managed to retrieve (after much shuffling and searching of old backups) an archive of the first professional "productivity suite" I used at work in the 80s : the little-known, but quite effective for its time, "Smartware 3.10" by the Canadian Innovative Software (later bought by Informix, who came out with Smartware II, just in time to be wiped by the Windows 3.0 wave...).

Smart 3.10 is a character-based, MS-DOS app in the same league and timeframe as the better known Framework III from Ashton-Tate and SPI's OpenAccess II : a word processor, spreadsheet and database with a common interface and programming language (those were the blessed days when presentation software hadn't even been invented yet :-).

Apart from some keyboard issues, it runs like a champ in Dosbox on my 810, and much faster than the orginal did on my first IMB PC-XT... a real beauty :-)

Karel Jansens
03-09-2008, 06:43 PM
Naaah, all that new-fangled GUI stuff is still a trifle advanced for me. This weekend I managed to retrieve (after much shuffling and searching of old backups) an archive of the first professional "productivity suite" I used at work in the 80s : the little-known, but quite effective for its time, "Smartware 3.10" by the Canadian Innovative Software (later bought by Informix, who came out with Smartware II, just in time to be wiped by the Windows 3.0 wave...).

Smart 3.10 is a character-based, MS-DOS app in the same league and timeframe as the better known Framework III from Ashton-Tate and SPI's OpenAccess II : a word processor, spreadsheet and database with a common interface and programming language (those were the blessed days when presentation software hadn't even been invented yet :-).

Apart from some keyboard issues, it runs like a champ in Dosbox on my 810, and much faster than the orginal did on my first IMB PC-XT... a real beauty :-)

I started with Symphony (http://en.wikipedia.org/wiki/Lotus_symphony) (the original one, not the GUI copycat) myself. Ahh -- the joy of typing in a wordprocessor that is actually a spreadsheet, wearing a cunning disguise.

Now if only somebody managed to reproduce Canon's Cat (http://en.wikipedia.org/wiki/Canon_Cat), or even Archy (http://en.wikipedia.org/wiki/Archy). I never got to play with it, and come to think of it, the keyboardless Itablets (I don't consider the N810's chicklet bar a keyboard) are probably not the best platforms for these beasties.

Hmm -- while musing: This might be a nice target for that Ueberlady of emulators, the Dame Pandora...

Addison
03-13-2008, 04:13 PM
Does anyone know what the three buttons huddled next to eachother just below the D Pad are called in the mapper.txt file?

I know that the top one of the three is called "key_esc" but I can't seem to find the other two.

I really would like to bind these keys if it's at all possible.

Thanks a bunch.

Pushwall
03-13-2008, 06:22 PM
In the default mapper.txt file I believe those keys are (from top going down):

key-esc = "key 27"
hand_shutdown = "key 285"
key-f5 = "key 286"

If I remember right I tried to remap "key 286" and it did the dual action of what I mapped it to and also pulling up that little active program menu. Have fun!

qole
03-14-2008, 05:40 PM
I was wondering... Is it possible to install DosBox on a desktop (x86) machine, do all of the software setup with a real keyboard and mouse, then copy a drive image over to the tablet when everything is done? That would sure make things easier. I know that's the way VMWare does it. You just copy over some files and point the VMWare workstation at the right directory and presto.

OSEmuTech
03-14-2008, 06:14 PM
Yeap. You can install everything into a directory (or a hard drive image file if you want), then copy the directory (or hard drive file) over to your NIT to use. Just make the changes to the dosbox.conf file on both systems to setup the autoexec.bat if needed.

It's how I got Windows 95 and Windows 98 running (slow and buggy) on my N800.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_XhBVIWHJPV4EXOMv4nuM4vJ8egBSE-Tts80z0RBefyA1ybZBEeWb0-J8RdLYLBt6StAbPbnJv3A/n800dbwin9500.png
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8NR5MQW4hYohDDbJD29J5JyHBbDmMAU6-7F2suVROKa6rleMdlk1qbTEumcS4O97uoZmp7QFGF1Q/n800dbwin9502.png
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_FSLsYP_9XrQWj9AJtprH0NSDK2BZDBxRg4FY QeU1gK7uNyGuXd3a9GEindml--ZQPX40FHiqU8Q/n800dbwin9503.png

ArnimS
03-14-2008, 07:29 PM
If you're running something that doesn't need sound blaster (i.e. win95) on N8x0 try CPU cycles between 1500 and 2000, or select 'max' cycles for an aggressively high cpu setting.

Should give you much better speed OsEmuTech.

OSEmuTech
03-14-2008, 08:52 PM
I meant to try that. :o

I'll have to set things up again tomorrow after work. Windows 95 on DOSBox wasn't too slow (especially compared to Bochs), but if upping the cycles improves the speed a bit, it will be useful running on my N800 (well, except the crashes when installing anything).

BTW: I know it's been talked about before, but even messing around with the mouse sensitivity in dosbox.conf doesn't prevent problems with the cursor not being one-to-one with the movement of the stylus when running certain DOS programs and Windows 3.x/9x.

And the the cursor suffers from being "sticky"; not letting go after a titlebar is clicked so when the stylus is pressed to the screen again the window is moved to that location, as if the left mouse button continues to be pressed down between clicks of the stylus and the windows is dragged to each new location. I know there is a CTRL-F10 combo to release the mouse, but can something be implemented in your port or is this unfeasible? i.e. moving the stylus off the screen releases the left mouse button.

I was just wondering about those two mouse issues: whether you knew about them and whether you hoped to someday implement something to remedy them.

qole
03-15-2008, 01:38 AM
...I got Windows 95 and Windows 98 running (slow and buggy) on my N800...

BTW: I know it's been talked about before, but even messing around with the mouse sensitivity in dosbox.conf doesn't prevent problems with the cursor not being one-to-one with the movement of the stylus when running certain DOS programs and Windows 3.x/9x.

And the the cursor suffers from being "sticky"; not letting go after a titlebar is clicked so when the stylus is pressed to the screen again the window is moved to that location, as if the left mouse button continues to be pressed down between clicks of the stylus and the windows is dragged to each new location.

I am so glad you're doing this! I have obtained a copy of Win 3.11 and I was planning to install it this weekend, but I'm wondering if I should wait for you to solve the big problems with Win 95 and then install that instead. I mean, if you can get Win95 running, we might be able to even install MS Word 97, which can open almost all modern Word docs correctly. Very exciting!

Addison
03-22-2008, 10:25 PM
New working double keyboard.

http://img87.imageshack.us/img87/9582/keyboardhe2.png

First, there is no Shift key, since it will break the Xkbd program.

However, there is a Caps Lock button, just below the red Backspace key.

Now, the Caps Lock button tends to carry it's flag when you close out the keyboard.

Meaning, that if you're typing in Caps, but the keyboard is all lower case, just press the Caps Lock button and close out the keyboard.

The next time you fire Xkbd up, everything should be all spiffy like, and you should only have to do this once.

Sorry for such an incredibly small font size.

Is there a way to customize each key as to how big the font is for it? I'd like to use three different font sizes in total.

I'm not finding how to do that. So any help on this would be really welcomed.

Also, anyone care to draw up an up, down, left, and right arrow keys?

Each button is 26 by 28 pixels I believe and the image needs to be in .xpm format. I have no clue on how to even begin doing that.


Edit your /usr/bin/dosboxxkbd file to
#!/bin/sh
xkbd -geometry +65536+65536 -k /media/mmc2/x2.xkbd & xkbd -geometry +722+65536 -k /media/mmc2/x.xkbd


Well, post any responses on the design or you can just pepper my stomach with tender kisses if you're feeling that grateful to me. :D

Cheers.

Here's the two files:
1215
1216

OSEmuTech
03-22-2008, 11:31 PM
:eek: Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh. ....

Can I just send you a bunch of money via PayPal instead? :D Thanks!

I'll set things up tomorrow while visiting my parents. Happy Easter! http://www.smileyhut.com/animals/animals_bunny2.gif

Pushwall
03-23-2008, 12:19 AM
New working double keyboard.

WOW!!! I'm speechless! :cool:

Addison
03-23-2008, 12:35 AM
WOW!!! I'm speechless!

Then why did you say anything? :p

Ah duh!

Yeah OSEmuTech, Happy Easter to you too.

It's holidays like these when you get to visit the family .........
and remind yourself why you left in the first place. :D


Hey, I just thought of something, are there special characters that have arrows on them that could be used for the up, down, left, and right keys?

That way, no one would have to draw the graphics for them.

Cheers guys.

Now, if you don't mind, it's time to party!

Michigan State is heading for the sweet sixteen. :D

qx773
03-23-2008, 01:19 AM
A common problem with DOSBox seems to be that the location of the MSDOS mouse pointer does not correspond to the place where you tap on the screen. I think that I found the solution on my Nokia N800 by editing the

/usr/share/dosbox/dosbox.conf

file so that:

autolock=false

OSEmuTech
03-23-2008, 01:31 AM
A common problem with DOSBox seems to be that the location of the MSDOS mouse pointer does not correspond to the place where you tap on the screen. I think that I found the solution on my Nokia N800 by editing the

/usr/share/dosbox/dosbox.conf

file so that:

autolock=false

Thanks. As suggested by Arnim in this thread, I have used that for over a month, but the mouse is still screwy and sticky.

qx773
03-23-2008, 11:49 AM
Maybe you also need:

frameskip=0
priority=highest,normal

Those are the only other things that I changed in dosbox.conf other than the [autoexec] section to mount my dos folder and start a Master of Orion v1.3 game.

Addison
03-23-2008, 07:19 PM
Okay, just a small little tweak to the two keyboards.

This should be the final design unless people start throwing rocks at me, demanding immediate changes. :D

Here's the abbreviations for the keys and what they mean:
Ins - Insert
Home - Home
Up - Page Up
Del - Delete
End - End
Down - Page Down
Prt - Print Screen
Lock - Scroll Lock
Pau - Pause
Sys - Sys Rq
Brk - Break

Also, the four bullet buttons next to the equals sign are the arrow keys.

If someone knows the ASCII character graphics for the arrow keys, could you please post a response?

Finally, it would be nice to have different font sizes throughout the keyboard.

Can you only declare one global font to be used for the entire keyboard or is it possible to do them each individually?


Anyway, here's the keyboard for right handed people:

http://img175.imageshack.us/img175/9085/righthp7.png

Here's the two files for it:
1223
1224

Edit your usr/bin/dosboxkbd to
#!/bin/sh
xkbd -geometry +65536+65536 -k /media/mmc2/right2.xkbd & xkbd -geometry +722+65536 -k /media/mmc2/right.xkbd


And here's the keyboard for all of you ignorant left handed folks: :D

http://img175.imageshack.us/img175/7901/leftgo0.png

Here's the two files for it:
1225
1226

Edit your usr/bin/dosboxkbd to
#!/bin/sh
xkbd -geometry +65536+65536 -k /media/mmc2/left.xkbd & xkbd -geometry +722+65536 -k /media/mmc2/left2.xkbd


I've got an idea that could greatly cut down the screen clutter, but I won't have time to try it out until the middle of the week if I'm lucky.

I might also want to try having two keys per row since the buttons are so small, not sure how that's going to work out though.

Anyway, there you have it.

If there's any major problems that occur with using these keyboards, such as a nasty, seething little bug that falls from the sky, lands on your Nokia, wiggles, and then pees on it, causing your Tablet to go into tetanus, please post your anger here. :D

OSEmuTech
03-23-2008, 09:19 PM
Maybe you also need:

frameskip=0
priority=highest,normal

Those are the only other things that I changed in dosbox.conf other than the [autoexec] section to mount my dos folder and start a Master of Orion v1.3 game.

I really wish that worked for me in "DOS" and Windows 3.11. Thank you for trying to assist me.

Pushwall
03-23-2008, 10:05 PM
Addison your 2 keyboards rock! It's cool that most games don't require fullscreen mode and the game screen centers between the 2 keyboards with the tablet bar info at the top. If you can now get that font thing figured out my weak eyes would appreciate it. :) The only minor problem I have is that some games accept all the keys needed from the keyboard but in some cases they refuse to accept some of them. It must be something to do with XKBD since my bluetooth keyboard does work. Oh well, I can live with it. Keep rockin', Addison. You're the main Dude, dude!! :D

Addison
03-24-2008, 02:03 AM
Hey Push! Thanks for the encouraging words! You actually made me feel like I finally contributed something to these forums. :D

But yeah, I'm getting the same response on some games as well.

Here's the skinny on why certain games aren't giving you so much as a dim flicker of recognition when using the virtual keyboard.

First, Xkbd doesn't like to be fed lower case letters, if you try to do that, there's a good chance it will snap at you.

So the whole trick around this is by making it think that you're not offering lower case letters to it.

The work around way I did this was to send it Capital Capital letters.

So instead of giving it a lower case letter which would make Xkbd throw up, it's being fed a Shifted Capital letter A. Make any sense?

Most games seem to interpret a Capital letter "A" as an "a". Unfortunately, other games get weirded out by this bizarro concept.

Right now I'm waiting to see what OSEmuTech has in store with his next keyboard. Hopefully he'll have some new, original, and creative ideas, then I'll steal them for my own. :D

At least now, we've got some stuff that will work okay with this alternative method. But yeah, I'm with you on this, I only remember those games where it doesn't work.

I totally was hoping that Omni Sports Basketball would be supported with Xkbd, I also wanted to make a touch screen steering wheel for Ivan Stewart's Super Off road. But that ain't happening any time soon it seems like. At least I'm not bitter....... :mad:

Oh well, until this whole mess gets fixed, hopefully there's enough here to work with to make the wait more tolerable until that day comes.

3xternal
03-24-2008, 03:49 AM
ArnimS: 1994 game, requires 386-486 - won't run playably in dosbox. Sorry.

Addison
03-25-2008, 10:43 PM
Another craptastic keyboard design by your drunken abusive fellow poster. :D

This one isn't quite so excessive in taking up screen space.

Once I figure out how to insert images into the darn little bugger, I'll give that a try as well.

The second keyboard comes up when you press the yellow star bullet thingie dohicker character.

It does have a minimize feature, but I don't think it's all too friendly with Dosbox.

Works great for everything else though.

Only known issue is that the left and right bracket characters, "[" and "]", are a little funky.

They sit right below the Ctrl and Atl keys. So when you press them, you get the character, but then it also sends the command that your pressed either the Ctrl or Atl keys right afterwards.

Just press the bullet mod key and then either the Ctrl or Alt key that is still lit to return back to normal.

Sorry about that, but it's not like most people are using the bracket keys for anything anyway.

Here's the screenies to get punchy over:

http://img505.imageshack.us/img505/4656/leftfulllc3.png

http://img254.imageshack.us/img254/9968/leftfull2fx0.png


There's one for the left and one for the right side, whatever your preference is.


Left one:
1257
Edit usr/bin/dosboxkbd
xkbd -geometry +65536+65536 -k /media/mmc2/leftfull.xkbd

Right one:
Edit usr/bin/dosboxkbd
1258
xkbd -geometry +722+65536 -k /media/mmc2/rightfull.xkbd



I still have one last, final idea in mind. I think it will work out quite nicely if I don't attempt doing it while hazing in and out of consciousness during a typical night of drunken stuporedness.

Meaning, don't expect a release anytime soon. :D

Natehunderd
03-26-2008, 10:36 PM
Only known issue is that the left and right bracket characters, "[" and "]", are a little funky.

Addison - but but but how will I type Apple ][ ????? :eek: :D

Nice!

Nate

Pushwall
03-27-2008, 10:03 AM
Oh my, very very nice indeed, Addison. I can now see clearly what those keys are that I'm tapping on. Great stuff!!! :cool: