maemo.org - Talk

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

misiak 2018-01-09 17:54

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by pichlo (Post 1540068)
Yeah, I am suspecting a corruption due to an unexpected reboot, which was only indirectly related to DOSBox (when I had to reboot due to unresponsiveness).

How did you fix it? I would rather not reflash if I can avoid it.

Oh, so it's permanent for you? For me a reboot with taking out battery for few seconds when it's off makes it work correctly again. Stupid question, but - have you checked the volume level while talking while you talk by receiver speaker? Or could you try to play something other on this speaker to confirm it works (I'm not sure if it's easy to do that, but I think it should be possible)?

pichlo 2018-01-10 07:42

Re: DOSBox 0.65 ... ftw
 
Thanks for your reply. I thought I had fixed it at least once by the battery out trick as you say but until you said it, I was not sure I was not imagining it.

Now it is very much permanent. I tried again just to be sure: turn off, take the battery out for the duration of my commute (about one hour), turn on again - no joy (and yes, I have checked the volume setting ;)).

The microphone still works though: the other side can hear me, only I cannot hear them when the sound is routed through the receiver. Loudspeaker, Bluetooth, headphones, all OK. So it might be a hardware fault, I suppose. Any good idea how I can test that?

pichlo 2018-01-10 08:38

Re: DOSBox 0.65 ... ftw
 
Just ran fsck on my optfs by exporting it through Backupmenu. No problems found. Still no sound through the receiver. No idea how to check rootfs.

Code:

# fsck -n -f -v /dev/sdb2
fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

      21301 inodes used (15.30%, out of 139264)
        801 non-contiguous files (3.8%)
          29 non-contiguous directories (0.1%)
            # of inodes with ind/dind/tind blocks: 1162/60/0
      346734 blocks used (64.13%, out of 540664)
          0 bad blocks
          1 large file

      18681 regular files
        1657 directories
          0 character device files
          0 block device files
          1 fifo
        113 links
        953 symbolic links (865 fast symbolic links)
          0 sockets
------------
      21405 files


dredlok706 2022-02-15 16:43

Re: DOSBox 0.65 ... ftw
 
Hello everyone! I installed latest SVN version of DOSBox on my N900, it works well.
But is there any way to calibrate mouse? When I click with finger, the cursor goes in different way...
I heard about some "driver":
Quote:

AFAIK last release of maemo dosbox contain fix for mouse, but need to be enabled separately - You need to download special tablet-mouse driver, then enable it in windows .ini file. then, mouse works like a charm on 3.1 or 95 Check dosbox thread for more details.
I can't find it unfortunately :(
It makes all games and OS-es I try to run on DOSBox unusable.
Thanks in advance, I hope you will help me ;)

javispedro 2022-02-15 16:54

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by dredlok706 (Post 1573614)
Hello everyone! I installed latest SVN version of DOSBox on my N900, it works well.
But is there any way to calibrate mouse? When I click with finger, the cursor goes in different way...
I heard about some "driver":

AFAIK last release of maemo dosbox contain fix for mouse, but need to be enabled separately - You need to download special tablet-mouse driver, then enable it in windows .ini file. then, mouse works like a charm on 3.1 or 95 Check dosbox thread for more details.

I can't find it unfortunately :(

It's still on my website -- https://depot.javispedro.com/nit/dos...use/tablet.drv . But it's only for Win 3.x and it only works in the patched dosbox on maemo repos, not upstream.

For DOS games I am not familiar with any "absolute" mouse standard so that's going to be difficult. If you are using fingers, then maybe you want something more akin to a "touchpad", but i don't think that's been implemented except in some Android ports.

dredlok706 2022-02-15 17:40

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by javispedro (Post 1573615)
It's still on my website -- https://depot.javispedro.com/nit/dos...use/tablet.drv . But it's only for Win 3.x and it only works in the patched dosbox on maemo repos, not upstream.

For DOS games I am not familiar with any "absolute" mouse standard so that's going to be difficult. If you are using fingers, then maybe you want something more akin to a "touchpad", but i don't think that's been implemented except in some Android ports.

Thank you for quick reply :)
Yes, it can be for 3.11. I use 3.11 for Workgroups, it's fastest on N900.
So one more question ;)
Ho to use that? :D:D:D
I am not familiar with those things :D

And you mean this DOSBox?
https://depot.javispedro.com/nit/dos...emo4_armel.deb
The patch doesn't work with normal SVN version of DOSBox? I use SVN at the moment, I need to install that from your site?

javispedro 2022-02-16 00:18

Re: DOSBox 0.65 ... ftw
 
1 Attachment(s)
Quote:

Originally Posted by dredlok706 (Post 1573616)
And you mean this DOSBox?
https://depot.javispedro.com/nit/dos...emo4_armel.deb
The patch doesn't work with normal SVN version of DOSBox? I use SVN at the moment, I need to install that from your site?

No, I mean at "maemo-extras" http://wiki.maemo.org/Extras , don't you use it ?
Specifically at extras-devel.

Alternatively, if you are building your own version, I am attaching the patch, but I haven't tried with latest SVN. It is just touching the ps2 mouse emulation to return absolute coordinates if the guest mouse driver requests it.
You should also disable "autolock" in dosbox.conf for better effect.

Quote:

Originally Posted by dredlok706 (Post 1573616)
So one more question
Ho to use that?

The windows side I explained at https://talk.maemo.org/showpost.php?...&postcount=695

You need to put the tablet.drv file in C:\Windows\System , and then edit C:\Windows\System.ini so that the mouse.drv line reads
"mouse.drv=tablet.drv" .

This still works on the PC at least.
I don't remember where tablet.drv comes from, but I either used debug.com to change it from mouse.drv or got it from the windows for pen computing edition.

dredlok706 2022-02-16 10:24

Re: DOSBox 0.65 ... ftw
 
Quote:

No, I mean at "maemo-extras" http://wiki.maemo.org/Extras , don't you use it ?
Yes, I use it, I just meant you mean a special version of DOSBox. I use SVN version from Extras-devel.
Quote:

Alternatively, if you are building your own version, I am attaching the patch, but I haven't tried with latest SVN. It is just touching the ps2 mouse emulation to return absolute coordinates if the guest mouse driver requests it.
You should also disable "autolock" in dosbox.conf for better effect.
I don't know how to build :D
Quote:

The windows side I explained at https://talk.maemo.org/showpost.php?...&postcount=695

You need to put the tablet.drv file in C:\Windows\System , and then edit C:\Windows\System.ini so that the mouse.drv line reads
"mouse.drv=tablet.drv" .
It works really great for me. Now I can use Windows 3.11 on my phone :D :D

Thank you for help, you did exactly what I wanted :D
Last question, it really doesn't work with e.g. W98?

javispedro 2022-02-16 14:16

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by dredlok706 (Post 1573620)
Thank you for help, you did exactly what I wanted :D
Last question, it really doesn't work with e.g. W98?

In theory you can use real mode mouse drivers with Windows 9x; the same instructions (copying tablet.drv and modifying Win9x's system.ini to point to it) should work. I have never tried that, though. Win9x on Dosbox was very slow.

But let me know if you try!

dredlok706 2022-02-16 15:05

Re: DOSBox 0.65 ... ftw
 
Quote:

In theory you can use real mode mouse drivers with Windows 9x; the same instructions (copying tablet.drv and modifying Win9x's system.ini to point to it) should work. I have never tried that, though. Win9x on Dosbox was very slow.
I will try and tell you. Of course, I use this method:
https://talk.maemo.org/showthread.php?t=42195
And again, thank you a lot for quick and effective help! :)


All times are GMT. The time now is 00:00.

vBulletin® Version 3.8.8