webOS Nation Forums >  webOS Developers >  webOS Development > DosBox 0.74 for webOS
DosBox 0.74 for webOS
  Reply
Like Tree5Likes

 
Thread Tools Display Modes
Old 03/25/2011, 11:49 PM   #1 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Here is DOSBox 0.74.4 for webOS.

This was tested with my Pre 2. I hope you enjoy this too.

And you can also download code and build your own dosbox.


Update

0.74.4
  • Changed mouse right click to tapping on gesture area instead of swyping

0.74.3
  • Portrait mode support(rotatescreen=true in dosbox.conf)
  • Added tab key('q' in sym mode)
  • OpenGL output as default

0.74.2
  • Mouse right click support by swiping gesture area from left to right direction

0.74.1
  • OpenGL support
- No screen update glitch
- Better performance

Download

http://dosbox-webos.googlecode.com/f...0.74.4_all.ipk

This update is also available in Preware.


Source

dosbox-webos - DOSBox for webOS - Google Project Hosting


Features
  • Hardware keyboard, Mouse emulation
  • Sound
  • Toggling numpad with pressing orange/grey or sym key twice
  • OpenGL support
  • Portrait mode support

Code:
  Normal
    Just type except @.
    Please note @ is mapped to . in orange mode.
    Shift + ,: <, .: >

  Orange mode(Orange/Grey twice)
    Same as Orange + key except .

  Sym mode(Sym twice)
    1 - 9: f1 - f9, 0: f10, b: f11, n: f12
    I: up, j: left, k: down, l: right
    y: [, u: ], o: \, ,: `, p: esc, q: tab, z: pause
    Shift + y: {, u: }, o: |, ,: ~, .:^

Tips

/media/internal/dosbox.conf

Code:
  [sdl]
  output=opengl
  rotatescreen=false
  [cpu]
  cycles=fixed 1000 (700 - 1500 would be fine)
  [mixer]
  rate=22050
Bugs


Thanks to
Thanks to WebOS Internals!

Special thanks to kolijoco! (DOSBox s60 Port Project Homepage)
I got a great idea and important parts from his project for OpenGL support.

Last edited by pithanks; 04/17/2011 at 11:50 PM. Reason: update
pithanks is offline   Reply With Quote
Old 03/26/2011, 02:43 AM   #2 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,568
Would you like to get this into the Preware feeds?

-- Rod
rwhitby is online now   Reply With Quote
Old 03/26/2011, 03:39 AM   #3 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Quote:
Originally Posted by rwhitby View Post
Would you like to get this into the Preware feeds?

-- Rod
Rod,

Sure I will. =)

Thanks,
wais
pithanks is offline   Reply With Quote
Old 03/26/2011, 03:45 AM   #4 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Quote:
Originally Posted by 256b View Post
Can not type the sign ":"
256b,

I know that. Better idea is coming up to map our palm's keypad.

Orange/Grey twice for original symbols.

Sym twice for num and arrow(like now).

Ideas are always welcome.

Thanks,
wais
pithanks is offline   Reply With Quote
Thanked By: voodooaddict
Old 03/26/2011, 10:14 AM   #5 (permalink)
Member
 
Posts: 355
Bug report from RUC forum (sorry for my English):

Reset after the first start, after booting the page titles in the launcher are gone (became # 1, # 2, etc.)
After the the second launch - like the stable, went in and out by exit command. Wanted to restore the names of pages - reset again.
In general reset is quite frequent when running DosBox.
Could not run MSDOS program. The problems I'm having:
In the folder /Media/internal / (flash drive) created a folder Dos
Ran on the commands in DosBox: mount c / Media / internal / dos and get the answer that the drive is mounted.
And here is the funny thing - want a type "C:" and I can not type ":", there is no sigh character (way down the red button Single click does not work, just double. Press 2 times special characters, 2 more pressing conventional).

p.s. Pre-, 1.4.5

Last edited by Pilotovef; 03/26/2011 at 03:16 PM.
Pilotovef is offline   Reply With Quote
Old 03/26/2011, 03:18 PM   #6 (permalink)
Member
 
Posts: 355
Cannot even run it. The Pre2 reboots every time I start the application.
Pilotovef is offline   Reply With Quote
Old 03/26/2011, 06:17 PM   #7 (permalink)
Member
 
ihooten's Avatar
 
Posts: 132
I've been hoping for something like this for a while... as for mapping issues, I know DosBox has been adapted for iPhone and Android, it may be worth seeing how it was implemented on these systems
ihooten is offline   Reply With Quote
Old 03/26/2011, 06:33 PM   #8 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Quote:
Originally Posted by Pilotovef View Post
Bug report from RUC forum (sorry for my English):

Reset after the first start, after booting the page titles in the launcher are gone (became # 1, # 2, etc.)
After the the second launch - like the stable, went in and out by exit command. Wanted to restore the names of pages - reset again.
In general reset is quite frequent when running DosBox.
Could not run MSDOS program. The problems I'm having:
In the folder /Media/internal / (flash drive) created a folder Dos
Ran on the commands in DosBox: mount c / Media / internal / dos and get the answer that the drive is mounted.
And here is the funny thing - want a type "C:" and I can not type ":", there is no sigh character (way down the red button Single click does not work, just double. Press 2 times special characters, 2 more pressing conventional).

p.s. Pre-, 1.4.5
Sorry about that stupid colon problem

I forgot it since I used dosbox.conf to mount c drive like below.

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount C /media/internal/dosbox
C:

colon and other all symbol will be added soon.

And it's very interesting that your phone gets reset when dosbox runs.

Dumping some infos when dosbox crashes may be required but now I don't have an idea for that.

Thanks,
wais
pithanks is offline   Reply With Quote
Old 03/27/2011, 03:47 AM   #9 (permalink)
Member
 
Posts: 3
Quote:
Originally Posted by Pilotovef View Post
... And here is the funny thing - want a type "C:" and I can not type ":", there is no sigh character (way down the red button Single click does not work, just double. Press 2 times special characters, 2 more pressing conventional).
sign ":" can be typed like this: double click 2 times the special characters and then shift + "o"
256b is offline   Reply With Quote
Old 03/27/2011, 02:06 PM   #10 (permalink)
Member
 
unfairSurprisery's Avatar
 
Posts: 261
Awesome. Not quite fast enough for Warcraft, but Master of Orion in playable. Oh, ~ key? You know, for when dosbox does that little auto-shorten file names thing.
__________________
danNielson.com - Slalom - twitter - facebook
A posted thanks dies with the thread. Clicking the button lasts until the admins get bored with this site and throw it in the recycling bin.
unfairSurprisery is offline   Reply With Quote
Old 03/27/2011, 07:30 PM   #11 (permalink)
Member
 
rsanchez1's Avatar
 
Posts: 1,840
This is a nice port of DosBox. The : keymapping is a slight issue, but I could get games running fine with sound. I will definitely follow development of this app.
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Old 03/28/2011, 11:55 PM   #12 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Updated.
pithanks is offline   Reply With Quote
Old 03/29/2011, 04:53 PM   #13 (permalink)
Member
 
Posts: 7
Would it be possible to make this compatible with Pixi?

Whenever I try to load dosbox, two black cards show up.. sometimes the phone reboots, sometimes not. i'm unsure of where to look for a log file.

I understand if arm v6 is a limitation, but if it's possible, I would be glad to test it.
d0gZpAw is offline   Reply With Quote
Old 03/29/2011, 07:13 PM   #14 (permalink)
Homebrew Developer
 
pithanks's Avatar
 
Posts: 26
Quote:
Originally Posted by d0gZpAw View Post
Would it be possible to make this compatible with Pixi?

Whenever I try to load dosbox, two black cards show up.. sometimes the phone reboots, sometimes not. i'm unsure of where to look for a log file.

I understand if arm v6 is a limitation, but if it's possible, I would be glad to test it.
Could you please try this build?

I just built this against to armv6 but I don't have pixi.

http://dosbox-webos.googlecode.com/f...28armv6%29.ipk

Thanks,
wais
pithanks is offline   Reply With Quote
Old 03/29/2011, 09:26 PM   #15 (permalink)
Member
 
Posts: 7
Quote:
Originally Posted by pithanks View Post
Could you please try this build?

I just built this against to armv6 but I don't have pixi.
Thanks for trying this. To install this, I had to remove the parenthesis "( )" from the filename to avoid an error message, but after that, the package installed OK.

Unfortunately the results look identical to the previous build.. sometimes the cards are blank, the phone locks up and reboots.. sometimes there is a small vertical line of pixels near the top-center of the screen. the pixels will start out white, but will change color each time you tap the screen.. if i don't toss away the cards, the phone eventually freezes and reboots again.

I am currently running UberKernel on my phone, if that has any relevance.

If there's anything else I can do to assist testing, just let me know. I am very hopeful to see DOSBox running on my phone!

thanks, d0gZpAw
d0gZpAw is offline   Reply With Quote
Old 03/30/2011, 03:00 AM   #16 (permalink)
Member
 
Posts: 7
Window 3.11 for Workgroups is running in dosbox on my pre(-)

Sound is working

Mouse sort of works, but is very difficult to use at the moment. I can't really use it effectively to do anything.

Only thing I see wrong right now (other than that it's kinda slow) are screen/video driver/color/refresh rate problems; probably attributable to the SDL problems.

I attached a screenshot. (You can see how the colors are wrong in the image)
Attached Images
File Type: png WFW311.png (18.1 KB, 198 views) Email Attachment

Last edited by PHOH@X; 04/02/2011 at 07:16 PM.
PHOH@X is offline   Reply With Quote
Old 04/02/2011, 11:05 AM   #17 (permalink)
Member
 
Posts: 11
Hi there, thanks fpor bringing DosBox to Webos!
I'm trying to install the ipkg via WebOs QuickInstall 4.0.4 on my Pre- with WebOS 2.1.

Unfortunately after trying to install for several minutes, I only get the message, that there was an error trying to install the package - null.
I will try again by placing the ipkg on the phone and edit my post afterwards.


edit: Preware is "rotating" for over thirty minutes now, I guess I will stop it.
Is there a way to debug this, to see, where the install process hangs?

Last edited by docholiday; 04/02/2011 at 11:56 AM. Reason: New details
docholiday is offline   Reply With Quote
Old 04/02/2011, 01:31 PM   #18 (permalink)
Member
 
Posts: 355
Could not even run on my Pre2. Reboot every time I run the app.
Pilotovef is offline   Reply With Quote
Old 04/02/2011, 01:49 PM   #19 (permalink)
Member
 
Posts: 11
Hm, after a reboot, the Dosbox Icon appeared, but It wouldn't give me more than a blank screen. I then removed it, rebooted again and now the install with Internalz / Preware worked and Dosbox started

Will play around with it and report my experiences during the next days.

Thanks again!
docholiday is offline   Reply With Quote
Old 04/06/2011, 03:56 PM   #20 (permalink)
Member
 
Posts: 3
How cool is this Dosbox for webos! Cheers for the dev! Here is my experience:
I'm on a pixi plus. I get the two black cards as well but I also get it to run something...

It even responds to some DOS commands, the screen changes when I give it a command. Still totally unreadable (its all really small!!). The top blue lines is the typical dosbox explanation text. Below is the commands, in the screenshot I have given it a 'dir' command, and it does list something!

For me it works best on palm default (uberkernel). When I clock faster I get a faster reboot! All and all still chrashes after a while! But on default it stays alive for some time.

Love to see it working on a pixi Must be possible since it already runs something!


Ps. It loads with 2 black cards, nothing there. When I switch to card view and back into the app stuff begins to appear (tho small and distorted).
Attached Images
File Type: jpg MD001233.JPG (208.3 KB, 95 views) Email Attachment
File Type: jpg MD001234.JPG (178.8 KB, 73 views) Email Attachment
benjamin_ben is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0