Moto Hell - The Motorola Modding Community

Motorola Phone Models => Software (Phone) => Topic started by: u4ia_eclipse on October 15, 2007, 01:18:59 am



Title: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 01:18:59 am
Got the DOS Box and Windows 3.1 to work on my ROKR E2!

I followed the steps here -> https://motohell.com/index.php?topic=1378.0 (Thank you so much rodrigon121 for the tutorial on Windows 3.1 on Ming!)

and guess what! It also worked on my E2! But it runs slow AND you can't access the input for the letters and stuff because it needs a touchscreen..
Well there's a good news because the joystick and other buttons work..

Joystick Left = Up
Joystick Right = Down
Joystick Up = Right
Joystick Down = Left
OK key (when you press the joystick) = Enter
Play/Play Button = Space
Next Button = Ctrl
Prev Button = Esc
Volume - = Shift
Volume + = Alt

--------------
Okay, so these are the steps that i did:

1) Download these programs:
   Download DOSbox for PC
   http://www.4shared.com/file/25887355/f48e529/DOSBox072-win32-installer.html?dirPwdVerified=7d64b183

   Download DOSbox for A1200/E6
   http://www.4shared.com/file/25885992/9a0772db/dosbox_E6_SoundBlaster_0525.html?dirPwdVerified=7d64b183

Or download both at http://www.e2mod.com/content/view/242/28/

   Download Windows 3.1
   EDIT: WAREZ... Sorry - search elsewhere

2) You then should install DOSbox on PC and DOSbox on ROKR E2.

3) Unzip Windows 3.1.rar to a folder in your computer..

Example:
 C:\DOS\Windows3.1\

4) Open DosBox for PC and type:

Code:
 mount c c:\dos

 You'll get this message: "Drive C is mounted as local directory c:\dos".  This is to mount the folder "C:\Dos" as the "C:\" in DosBox

5) Then type this in DosBox:
Code:
 c:
 cd windows3.1
 setup

 This is to run the Windows 3.1 setup.

6) Install Windows 3.1 on "C:\dos\windows\". Continue till the installation is finished.

7) Once the installation is done. Explore your ROKR E2's memory card using Windows Explorer.

    Copy "c:\dos\" to your phone's memory card in "[memory card root directory]\dos"

8 ) When you open DosBox for ROKR you wont be able to input any letters beacuse their is not touchscreen.

9) So to run Windows 3.1 you have to include it to the DosBox autorun.
    Go to ".system\QTDownLoad\dosbox" in your memory card and open "dosbox.conf" in a text editor

10) scroll down to the end of dosbox.conf" and you will see a [autoexec]

11) Replace it with the one written here:

Code:
[autoexec]
mount c /mmc/mmca1/dos
c:
cd windows
win
# Lines in this section will be run at startup.

12) Start DosBox from your phone, autoexec code will run and Windows 3.1 will immediately load.


There ya go. i'll be experimenting more with the programs. Thanks!

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/a.jpg)(http://i20.photobucket.com/albums/b245/u4ia_eclipse/b.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/c.jpg)(http://i20.photobucket.com/albums/b245/u4ia_eclipse/z.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/gf.jpg)(http://i20.photobucket.com/albums/b245/u4ia_eclipse/h.jpg)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 02:58:23 am
I pressed on the DOS icon but nothing happened, I installed the application on phone memory...
And followed all your instructions...

EDIT: It needs root permission...

Is there a way to remove the bar at the bottom?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 03:09:24 am
i just figured out that the keypad buttons and the joystick works! weee!  8)

Joystick Left = Up
Joystick Right = Down
Joystick Up = Right
Joystick Down = Left
OK key (when you press the joystick) = Enter
Play/Play Button = Space
Next Button = Ctrl
Prev Button = Esc
Volume - = Shift
Volume + = Alt


You can run almost any DOS program on DosBox BUT with the limitation that the phone's memory can allow it. And bad news the phone's memory is not that big.
U can run TurboC, Windows 3.1, DOS games, etc.

I tried running DOOM but a "not enough memory" error appeared. I also tried running the Mario DOS Game and it worked. Keys written above works. BUT the program is super slow. VERY SLOW. The speed is unplayable..


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 03:18:45 am
There are some settings in the config file that controls the CPU, try changing the values there....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: keaglez on October 15, 2007, 03:43:09 am
Use bigger swap, maybe 128mb and do overclock... Maybe it works...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 03:58:51 am
I need a tab button and a button to exit dosbox, so I don't have to turn off my phone everything I want to quit dosbox....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 04:07:02 am
Yup i agree. We need a tab button and a way to exit dosbox.

What i do to exit dosbox is to hold the Music key so the Task Manager will show up. Then i select "usr/sysqtapp/phone/phone" and then i select "Menu/Raise" Once the home screen appears DosBox exits.. sometimes i have to do it multiple times for it to work.. and sometimes the exit doesnt work.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: puelev on October 15, 2007, 04:11:18 am
It's cool!!
  thx4share


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 04:18:45 am
(http://i20.photobucket.com/albums/b245/u4ia_eclipse/IMG_1313.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/IMG_1319.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/IMG_1320.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/IMG_1324.jpg)

(http://i20.photobucket.com/albums/b245/u4ia_eclipse/IMG_1325.jpg)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 04:20:07 am
I managed to remove the bottom bar but it leaves a black space there, is there anyway to make it fullscreen?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 04:22:16 am
how did u remove the bottom bar?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 04:57:13 am
Open the bmp file(forgot the filename but there is a bmp file in the dosbox folder) with paint and make it 1x1, then save the image...

Is there anyway to change the resolution to 320x240(inside windows3.1), because everything now is being scaled down and causes text to be very unreadable...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 05:19:52 am
Some photos, with the bottom bar removed...

These photos were taken with ROKR E2 with macro lens....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 05:37:12 am
i figured out how to remove the bottom bar completely.

open dosbox.conf

set hk_softkeypad to 4144. 4144 is the call button. (or set it to any button you like)

press that button and it will toggle the bottom bar on/off.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 05:45:35 am
anyone else knows the rest of the keypad mapping numbers for the e2?
these are the ones included in dosbox:

# keypad define for E690
# * OK:      4100
# * Up:      4115
# * Down:   4117
# * Left:   4114
# * Right:   4116
# * Call:   4144
# * Hung:   4145
# * Real:   4147
# * Cam AV:   4173
# * Cam:   4148
# * Vol+:   4118
# * Vol-:   4119
# * Prev:   4171
# * Pause:   4169
# * Next:   4172

anyone knows the rest? like for the numbers and softkeys?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 05:50:27 am
I didn't know that, thanks u4ia_eclipse....

I'm now trying to edit the config file to make it run faster but have failed...

Seems like there is only me and u4ia_eclipse in this topic haha...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: keaglez on October 15, 2007, 05:54:30 am
I will try asap, maybe tomorrow... ;D Im viewing for all you did first... Haha... ;)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 05:58:28 am
I tried pressing the call button but the black bar(as seen in my photos) still remains there...

Anyone knows where is the settings for changing screen resolution? I believe changing the resolution to 320x240 will make it run much faster, because it is currently running at a resolution higher than 320x240 (maybe 640x480)....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 06:01:29 am
you can bind any button to hk_softkeypad not just the call button.. then use that button to toggle the bar on/off..


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 06:08:31 am
u4ia_eclipse,
When the bar is toggled off by pressing the call button, is there a black bar at the bottom of the screen?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 06:59:23 am
nope, it disappears. i didnt edit the toolbar bmp so i can see the bar before i toggle it off. the bar completely disappears making DosBox fullscreen in my phone.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 07:21:11 am
Do you know why this topic gets more than 500 views in a few hours?
Because at the chinese forum they linked to this topic haha....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 07:26:03 am
Yeah i was surprised how many views are on this thread! haha! I guess that's good! More people can experiment on this software and more progress can be made. Hope someone can activate the mouse for the E2. Or someone figure out the other keypad map so we can bind more keys to the software.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 07:27:50 am
OK now the virtual keyboard disappears, I forgot to set it to the Call button LOL...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: ???? on October 15, 2007, 08:08:08 am
????????E2???????????????????????????????????liuie_413@163.com


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 15, 2007, 08:10:48 am
I have no idea what that means.. Please translate to english.. :) thanks.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 15, 2007, 08:28:57 am
My dosbox cant mount!!! I give the root access but he says that cant mount the dos directory...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: motomaniacs on October 15, 2007, 08:36:49 am
have tried this windows @ e680i but i just uninstalled it since i dont get any benefit from this progs


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: huatz84 on October 15, 2007, 09:04:14 am
have tried this windows @ e680i but i just uninstalled it since i dont get any benefit from this progs
Me,too.I think it's more fun if we can install QTopia and OpenMoko just like my E680.But I think Dosbox on E2 is worth-trying,too.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Joka X on October 15, 2007, 09:40:38 am
Off topic:I'm just here to translate the chinese text....he/she is saying he/she is E2 user from China...he/she want to make friends with you guys although you guys don't know chinese...and he/she give his/her's email address....
P.S.:wow!we break the most online record and now the total of most online record are 126 thanks to this topic...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 15, 2007, 09:54:57 am
hehsa... Advice: Capital letters matters... hesha.. DOS is diferent to dos .... hehs...

WORKING!!!! But too slow... 

The office works too???


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: motomaniacs on October 15, 2007, 11:04:45 am
yeah xtreme 126 is a huge number
anyway we got here an introduction thread @general discussion board.. please tell him/her to introduce there


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: crz on October 15, 2007, 10:25:20 pm
May bee soon we will instal Win95 or Mac7)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: BruceLee on October 15, 2007, 11:16:10 pm
yeah right... maybe on some more performant phone. not on e2.. win3.1 runs slow so imagine how would run win 95


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 15, 2007, 11:18:17 pm
There is not enough ram, so it will run very slowly after using for a while...

It also makes my phone hang very frequently when using Windows 3.1....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: huatz84 on October 16, 2007, 02:09:50 am
Me too.It's so slow when my phone's running Windows 3.1.If I pressed some buttons quickly,my phone hanged.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 02:25:29 am
yeah right... maybe on some more performant phone. not on e2.. win3.1 runs slow so imagine how would run win 95

Some people on it168 managed to run windows 95, but it lags a lot...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 02:58:08 am
Try the dos games from: http://www.abandonia.com/

Delete my post if its warez...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: DDSH on October 16, 2007, 03:02:44 am
Dos games - warez? :)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 03:10:11 am
OMG!! I managed to run a game and there IS SOUND + 3D!!! Going to post a video soon....

Here: http://www.youtube.com/watch?v=aG4INQvD_zY

My very first time uploading a video to Youtube...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: huatz84 on October 16, 2007, 05:00:16 am
Wow! It must be damn slow..


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: heamn on October 16, 2007, 07:50:58 am
I've juz read from moto.it168 forum...
bout this dosbox... its still not very "complete"...
dosbox can only stimulate 15mhz on phone... for now lar...
maybe next release can fix this well enuf...

PS: i've tried swap 128mb+624mhz overclock
the program still run like slow...ya know...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 16, 2007, 08:39:13 am
heamn youre right... I try to emulate "Stunts" and it was very slow... This version is not so usefull...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 10:22:40 pm
I've juz read from moto.it168 forum...
bout this dosbox... its still not very "complete"...
dosbox can only stimulate 15mhz on phone... for now lar...
maybe next release can fix this well enuf...

PS: i've tried swap 128mb+624mhz overclock
the program still run like slow...ya know...

Firstly, stimulate and simulate is very different... HAHA!!
Will changing this value help?
cycles = nnnn | max | auto

Quote from: dosbox wiki
Amount of instructions DOSBox tries to emulate each millisecond. Set to max to automatically run as many cycles as possible. auto setting switches to max if appropriate.

OBS: Setting this higher than your machine can handle is bad!

Default is auto.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 10:32:28 pm
Sorry I cannot allow the Windows 3.11 download link :(


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 10:39:24 pm
I found that in Motofan - it may help you:

VK_LBUTTON    01    Left mouse button     
VK_RBUTTON    02    Right mouse button     
VK_CANCEL    03    Control-break processing     
VK_MBUTTON    04    Middle mouse button (three-button mouse)     
VK_XBUTTON1    05    Windows 2000/XP: X1 mouse button   
VK_XBUTTON2    06    Windows 2000/XP: X2 mouse button   
VK_BACK        08    BACKSPACE key     
VK_TAB        09    TAB key     
VK_CLEAR    0C    CLEAR key     
VK_RETURN    0D    ENTER key     
VK_SHIFT    10    SHIFT key     
VK_CONTROL    11    CTRL key     
VK_MENU        12    ALT key     
VK_PAUSE    13    PAUSE key     
VK_CAPITAL    14    CAPS LOCK key     
VK_ESCAPE    1B    ESC key     
VK_SPACE    20    SPACEBAR     
VK_PRIOR    21    PAGE UP key     
VK_NEXT        22    PAGE DOWN key     
VK_END        23    END key     
VK_HOME        24    HOME key     
VK_LEFT        25    LEFT ARROW key     
VK_UP        26    UP ARROW key     
VK_RIGHT    27    RIGHT ARROW key     
VK_DOWN        28    DOWN ARROW key     
VK_SELECT    29    SELECT key     
VK_PRINT    2A    PRINT key   
VK_EXECUTE    2B    EXECUTE key     
VK_SNAPSHOT    2C    PRINT SCREEN key for Windows 3.0 and later     
VK_INSERT    2D    INS key     
VK_DELETE    2E    DEL key     
VK_HELP        2F    HELP key     

VK_0        30    0 key     
VK_1        31    1 key     
VK_2        32    2 key     
VK_3        33    3 key     
VK_4        34    4 key     
VK_5        35    5 key     
VK_6        36    6 key     
VK_7        37    7 key     
VK_8        38    8 key     
VK_9        39    9 key     
   
VK_A        41    A key     
VK_B        42    B key     
VK_C        43    C key     
VK_D        44    D key     
VK_E        45    E key     
VK_F        46    F key     
VK_G        47    G key     
VK_H        48    H key     
VK_I        49    I key     
VK_J        4A    J key     
VK_K        4B    K key     
VK_L        4C    L key     
VK_M        4D    M key     
VK_N        4E    N key     
VK_O        4F    O key     
VK_P        50    P key     
VK_Q        51    Q key     
VK_R        52    R key     
VK_S        53    S key     
VK_T        54    T key     
VK_U        55    U key     
VK_V        56    V key     
VK_W        57    W key     
VK_X        58    X key     
VK_Y        59    Y key     
VK_Z        5A    Z key     

VK_LWIN        5B    Left Windows key (Microsoft Natural Keyboard)     
VK_RWIN        5C    Right Windows key (Microsoft Natural Keyboard)     
VK_APPS        5D    Applications key (Microsoft Natural Keyboard)     

VK_SLEEP    5F    Computer Sleep key   
VK_NUMPAD0    60    Numeric keypad 0 key     
VK_NUMPAD1    61    Numeric keypad 1 key     
VK_NUMPAD2    62    Numeric keypad 2 key     
VK_NUMPAD3    63    Numeric keypad 3 key     
VK_NUMPAD4    64    Numeric keypad 4 key     
VK_NUMPAD5    65    Numeric keypad 5 key     
VK_NUMPAD6    66    Numeric keypad 6 key     
VK_NUMPAD7    67    Numeric keypad 7 key     
VK_NUMPAD8    68    Numeric keypad 8 key     
VK_NUMPAD9    69    Numeric keypad 9 key     
VK_MULTIPLY    6A    Multiply key     
VK_ADD        6B    Add key     
VK_SEPARATOR    6C    Separator key     
VK_SUBTRACT    6D    Subtract key     
VK_DECIMAL    6E    Decimal key     
VK_DIVIDE    6F    Divide key     
VK_F1        70    F1 key     
VK_F2        71    F2 key     
VK_F3        72    F3 key     
VK_F4        73    F4 key     
VK_F5        74    F5 key     
VK_F6        75    F6 key     
VK_F7        76    F7 key     
VK_F8        77    F8 key     
VK_F9        78    F9 key     
VK_F10        79    F10 key     
VK_F11        7A    F11 key     
VK_F12        7B    F12 key     
VK_F13        7C    F13 key     
VK_F14        7D    F14 key     
VK_F15        7E    F15 key     
VK_F16        7F    F16 key     
VK_F17        80    F17 key     
VK_F18        81    F18 key     
VK_F19        82    F19 key     
VK_F20        83    F20 key     
VK_F21        84    F21 key     
VK_F22        85    F22 key     
VK_F23        86    F23 key     
VK_F24        87    F24 key     
   
VK_NUMLOCK    90    NUM LOCK key     
VK_SCROLL    91    SCROLL LOCK key     

VK_LSHIFT    A0    Left SHIFT key   
VK_RSHIFT    A1    Right SHIFT key   
VK_LCONTROL    A2    Left CONTROL key   
VK_RCONTROL    A3    Right CONTROL key   
VK_LMENU    A4    Left MENU key   
VK_RMENU    A5    Right MENU key


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 11:08:49 pm
Can anybody try Windows 1.0, 2.0 or 2.1 on it? I guess it won't be a problem to start (you may need to add startup in autoexec.bat, cos we can't write at the moment :)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 11:09:32 pm
So we should add these into the config file and it will work?

I'm currently trying Windows 95...

I'll also be trying to press CTRL+F8 and CTRL+F12 to increase speed....
(http://i20.photobucket.com/albums/b245/u4ia_eclipse/z.jpg)

One more thing, I'm trying dosbox on PC and increasing the CPU cycles really increases the speed!
CTRL+F8 is to increase frame skip and CTRL+F12 is to increase CPU cycles....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 11:14:05 pm
oops my fault - Windows 1.0 may not run, because it needs MS-DOS 2.0, 256 KB RAM... I think that older DOS versions are not 16 bit... I will search what's the situation for Windows 2.0 and 2.1

P.S. We may try to add some dos memory boosters... I will write soon

Edit: Make sure that you have himem.sys and verify the paths in the config.sys (open it with notepad):
device=c:\dos\himem.sys
dos=high,umb


Also a performance boosting can be used via SMARTDRV.EXE (load it via autoexec.bat) by:
LH SMARTDRV.EXE
Note: Make sure that it is before the "WIN" command.

DO NOT USE THIS SUGGESTION FOR WIN 3.11 - USE IT FOR DOS ONLY



Edit: I am not sure if those are not preloaded anyway (I can't test now), but himem.sys is providing ability for DOS to use more of the available RAM via XMS. Usually Windows automatically loads it, but I am writing just in case it do not
Smartdrv is a disk caching program - it greatly improves the disk reads by loading the data from the hard drive (in your case SD card) into the RAM


Reedit: We may try to load the third party program "Quarterdeck QEMM" - I remember that it made a pretty good speed boost on my old PC when I was using Win 3.11.

P.S. (LOL it's too much edits) - you may try to convert DEVICE= to DEVICEHIGH= in config.sys for all loaded devices EXCEPT FOR HIMEM.SYS and EMM386.EXE!


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 11:29:13 pm
I tried pressing CTRL+F12 on my E2 to increase CPU cycle but there is no effect, will try to increase CPU cycle through the dosbox.conf file, but what is the max value for E2 CPU@624mhz??

Exploited, will starting SMARTDRV.EXE in Windows3.1 have any effect??

E2 keymap here for quick reference:

4152 - Softkey left
4154 - Softkey right
4146 - Clear (C)
4100 - Joy push
4115 - Joy up
4117 - Joy down
4114 - Joy left
4116 - Joy right
4144 - Call
4145 - Hang up
4118 - Vol up
4119 - Vol down
4171 - prev (music key)
4172 - next (music key)
4169 - play, stop (music key)
49 - 1,.;
50 - 2abc
51 - 3def
52 - 4ghi
53 - 5jkl
54 - 6mno
55 - 7pqrs
56 - 8tuv
57 - wxyz
42 - *
48 - 0+
35 - #


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 11:31:03 pm
now a new post - try decreasing FILES=8 (if exists in config.sys - 8 is the default value) to 4... That unloads some RAM - this option is used to specify the maximum number of files that can be open at the same time


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 11:31:51 pm
sjj - smartdrv gives significant effect when reading files... however the question is good. I will check the effects of it over Win 3.11 now

Edit: http://www.knowplace.org/pages/morgue/optimizing_dos_memory.php says DO NOT USE SMARTDRV with WFW 3.11... so FORGET MY SUGGESTION :)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 11:35:40 pm
Setting CPU cycle to auto in the config have a bit of effect, better performance...

I recommend you to try the game called Alone in the Dark, it has sound and is a hybrid 2D + 3D game....
But I think the game may be running at a higher resolution that 320x240 which will be wasting the CPU power...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 16, 2007, 11:38:18 pm
excuse me for the ignorance about dosbox, but where/how do I fix the keymap? Can you maybe attach some ready configuration files?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 16, 2007, 11:40:19 pm
Change the keymap from dosbox.conf in the dosbox folder....

This is my config.sys for windows 3.1
Code:
FILES=30
BUFFERS=30
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER
STACKS=9,256
I tried changing the value to 4 but it says access denied....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 17, 2007, 12:05:17 am
decrease FILES to 8, which is the default... Increase one by one until Windows starts - then add + 2 just in case :)

Remove completely the line DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER from your config.sys and try load windows. According to the upper article that will give some extra memory for you :)


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 17, 2007, 12:25:22 am
Exploited,
I managed to change config.sys but windows won't start, it is stuck at the boot screen....
And do you know how to change the resolution of windows to 320x240?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: u4ia_eclipse on October 17, 2007, 01:17:53 am
sjj,

did windows 95 on dosbox work? what games can you recommend for us to play on dosbox with little lag?

and btw, i watched ur video and i was surprised how fast dosbox booted up on your phone..
can you share what specs ur phone is currently running? did you oc and use swap on ur phone? what firmware are u using?
coz the boot up was fast! haha! im jealous! my phones really slow. im using kalei with 12mb swap.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 17, 2007, 03:50:52 am
I'm using ROKR Ultimate @ 624mhz, I think there is no swap....

Windows 95 didn't work, the installer won't work...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 17, 2007, 04:02:33 am
Could somebody up to rapidshare the dosbox.conf already configured?  Thx!!!


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 17, 2007, 05:14:26 am
Could somebody up to rapidshare the dosbox.conf already configured?  Thx!!!

You will have to edit dosbox.conf yourself depending on what application you want to run, its very easy, open it up with notepad and edit...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: heamn on October 17, 2007, 09:44:10 am
Duh...
Sjj can u gimme ur edited dosbox.conf??
bout the keys i can edit my self... juz wondering wht settings are the best?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: vert_da on October 18, 2007, 12:33:18 am
Good day, anyone! Please, forget me my busily, but I don't read anything in this topic about developer of this DOSBOX mpkg. Can ypu tell me, who is developer(may be his contact?), I wan't to say him big thanks and ask a few questions?

Thanks anyway.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 18, 2007, 01:26:35 am
I think the developer is oopsware, the one who made the SNES emulator(and lasly ported it)....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 18, 2007, 02:02:39 am
sjj - check the attachment - it will help you to make it 320x240


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: vert_da on October 18, 2007, 03:13:40 am
Who knows how and where I can to speak with oopsware? or with lasly?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 18, 2007, 03:46:06 am
only in their native speaking forums


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 18, 2007, 04:04:17 am
Explpoited,
setres.exe doesn't work for me, I put the commands into a batch file and clicked on it, nothing happened...
Didi it work on your phone?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 18, 2007, 05:47:06 am
Sjj, i know about the command line to run aplications... I already try to emulate some dos games, like STUNTS, but with no sucess because the low speed and the need of a keymaped dosbox.
The request about dosbox.conf was only to try to get a already maded keymap.



Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 18, 2007, 06:21:02 am
I have no time to make the customized dosbox.conf... Someone else will have to do that...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: xulebas on October 18, 2007, 06:32:06 am
Thx anyway... If somebody already have a keymaped conf, plz post here! Should be nice to every one!

I will try to do it too...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: fedegil69 on October 18, 2007, 08:57:13 am
hello there im fedegil69 of comunidad moviles, argentina about 20 days i made a similar work and post it on   the other web; i want to give you the compiled mpkg for direct install (with the same problems on de touchscreen):
DOWNLOAD ME (http://rapidshare.com/files/61016411/dosbox.mpkg.html)
if you know some news of the interface change of touchscreen to keyboard let we know!



salu2


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Taurnil on October 18, 2007, 02:13:09 pm
AFAIK the only way to change the interface from touchscreen to keyboard is editing and recompiling dosbox source code.  We could start working from A1200 version. Who ported dosbox to motoming?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 18, 2007, 08:49:31 pm
Need a mirror for fedegil69 dosbox.mpkg...
Can't download from rapid....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 18, 2007, 10:12:44 pm
Mirror: http://d.turboupload.com/d/2099774/dosbox.mpkg.html


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: chchyong89 on October 19, 2007, 12:05:14 am
i have installed the both apps.. and i faced many problems
first: the file is .pkg? and i can't run it.. then i change it to .mpkg file and install it, luckily it work.
second: i can run the it but can't press anything and exit it.. and it is ordered to go into

<<".system\QTDownLoad\dosbox" in your memory card and open "dosbox.conf">>
but when i go into
"F:\.system\QTDownLoad\"
i can't see any folders and files..what had happened?
i do a lot of reboot but can't fix it tooo...
please guide me out everyone..

i am using vista, will it affect it?
thanks for all the motorola modders


Edit:sorry, problem solved, the dosbox must install on memory card..haha


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: chchyong89 on October 19, 2007, 12:48:37 am
wow.. it work.. but i can't do anything in the windows.. but i can take my phone go show off to my fren.. i only can shift to this windows and that windows.. haha!
if the joystick can work as the mouse.. it will be good!!! and the enter joystick key work as the mouse click function.. it always better than current keypad mapping... u motorola modder guys just awesome! hhaaha


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 19, 2007, 02:05:40 am
Anyone knows the mouse left and right click button strings and the up/down and left/right ?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 19, 2007, 03:32:25 am

VK_LBUTTON    01    Left mouse button     
VK_RBUTTON    02    Right mouse button
VK_MBUTTON    04    Middle mouse button (three-button mouse) 

I don't think there is a feature for moving the mouse with joystick... We will have to add that feature....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 19, 2007, 03:38:36 am
the mouse up/down/left/right is similar input... just find the keymap. Remember that Windows have feature for "Mouse Keys" in accessibility tools


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 19, 2007, 04:28:20 am
Are you sure Windows 3.1 has that program?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 19, 2007, 06:11:29 am
I tried changing the dosbox memory size, it will take a long time to start if you set it above 4mb....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 19, 2007, 07:39:49 am
not sure at all

It turns that the problem is free ram... Did you try killing some linux processes to free memory before runing windows?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: fedegil69 on October 20, 2007, 10:08:23 am
Quote
Remember that Windows have feature for "Mouse Keys" in accessibility tools

no, windows 3.1 donĀ“t have  that tool


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: SaniOKh on October 20, 2007, 03:29:00 pm
Next step: a dual boot manager for launching either E2 native Linux or DOS :P
Did anyone try Volkov or Norton Commander on this port? I think it would be more interesting that Win 3.1 for launching stuff.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 20, 2007, 08:52:12 pm
I can launch games and applications from Windows 3.1 so that I don't need to change dosbox.conf everything I want to play another game....


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: Exploited on October 21, 2007, 09:37:19 am
If you are using Windows 3.1 or 3.11, you can find Character Map by double clicking on the "Accessories" group icon in Program Manager


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: zincro3 on October 23, 2007, 05:51:51 am
i have installed dosbox in memory card and change to root permission. But why its cannot run, just blank screen on my phone and i can press any thing :( . i must revove the battery to turn on again. any one can hel me????
sorry for my bad english


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: heamn on October 23, 2007, 06:18:57 am
Zincro~~ u've installed dosbox, and did u install WIN3.1 or other stuff suck as dos game or else to boot along with dosbox??

besure to type commands in dosbox.conf to execute the program u want it to load~~


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: zincro3 on October 23, 2007, 06:23:23 am
yes i copy win 3.1 to my meory card root directory, and put command in dosbox.conf but its still same :(


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: BlinK_ on October 26, 2007, 01:30:07 pm
Why i cant install DOSBox into my Memory card. When i Try to install it there it gives me error 'Instalation failed'. However if i trie to install into phone, everything works fine.


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: sjj on October 26, 2007, 11:23:44 pm
If you want to install it onto your SD, you will have to do it manually...


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: BlinK_ on October 27, 2007, 07:01:28 am
I know this is a little bit offtopic, but could you PM me with the steps to install a mpkg package manually into the mmc?


Title: Re: [E2] WINDOWS 3.1 on ROKR E2
Post by: KhAiRiNhO on December 04, 2007, 07:38:10 am
When reached to the setup step appear this message ( in pic)

(http://mo7akoko.googlepages.com/sasasa.jpg)
what is the problem?? >:(