forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dosbox
Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 22, 23, 24  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Sep 26, 2007 6:09 pm    Post subject: Reply with quote

Wally4000 wrote:
you should be able to compile dosbox for the slim, no worries just change the makefile around to support 3.71 kernel


I takes more than just changing the makefile to make homebrew work on 3.xx/Slim.
Back to top
View user's profile Send private message AIM Address
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 26, 2007 10:10 pm    Post subject: Reply with quote

J.F. wrote:
Wally4000 wrote:
you should be able to compile dosbox for the slim, no worries just change the makefile around to support 3.71 kernel


I takes more than just changing the makefile to make homebrew work on 3.xx/Slim.


That leaves me clueless then :P
Back to top
View user's profile Send private message AIM Address
DookFook



Joined: 01 Aug 2007
Posts: 6

PostPosted: Wed Sep 26, 2007 10:30 pm    Post subject: Reply with quote

My psp has been through a lot, I've had it for some time now and its spent many hours in my pocket. All this wear and tear has left my PSP's analog stick in shambles. it defaults to moving down and right, and input further messed it up. So I was wondering if either:
a) I can download/create a prx that will change dpad inputs into analog stick input.
b) edit somewhere is dosbox's config so I can change the default mouse input to the dpad instead of the analog stick.

Solution a is preferred since many other games wont work for me.

Thanks for any help.
Back to top
View user's profile Send private message
roylazarovich



Joined: 22 Jul 2007
Posts: 5

PostPosted: Wed Sep 26, 2007 11:33 pm    Post subject: Reply with quote

I'm interested in a Slim compatible version as well.

The 3.60 release's readme says:
Quote:
Included with the release is the M33 sdk for programmers.


I'm not a programmer so I can't be sure this would help, but it's something I guess...

Also, the new 3.71 release has an example on how to use the extra memory, from the readme:
Quote:
Included is a sample that uses the 32 MB of extra ram of the psp slim.


Looks like exciting times are ahead for the PSP Slim & Lite.

Links:

3.60 M33
3.71 M33
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 26, 2007 11:49 pm    Post subject: Reply with quote

DookFook wrote:
My psp has been through a lot, I've had it for some time now and its spent many hours in my pocket. All this wear and tear has left my PSP's analog stick in shambles. it defaults to moving down and right, and input further messed it up. So I was wondering if either:
a) I can download/create a prx that will change dpad inputs into analog stick input.


Thanks for any help.


you could try using Raphaels Joystick Calibration tool called Joysense
Back to top
View user's profile Send private message AIM Address
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Sep 27, 2007 12:09 am    Post subject: Reply with quote

Wally4000 wrote:
J.F. wrote:
Wally4000 wrote:
you should be able to compile dosbox for the slim, no worries just change the makefile around to support 3.71 kernel


I takes more than just changing the makefile to make homebrew work on 3.xx/Slim.


That leaves me clueless then :P


Well, as long as a program doesn't do anything that REQUIRES kernel mode, it's easy enough to make it 3.xx/Slim compatible. It's more than changing the makefile, but less than rewriting the app. For example, PMPlayer Advance had ONE single thing that required kernel mode - setting the audio playback sample rate. That was moved into an external prx, and the rest of the app was then run in user mode. Instant 3.xx/Slim compatibility. So dosbox COULD possibly be a simple conversion. I guess I ought to check the diff file to see how it runs. It could just be a few simple changes.
Back to top
View user's profile Send private message AIM Address
DookFook



Joined: 01 Aug 2007
Posts: 6

PostPosted: Thu Sep 27, 2007 1:54 am    Post subject: Reply with quote

Wally4000, I already have joysens.prx. however, with this plugin running dosbox doesn't receive any mouse input
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Sep 27, 2007 9:13 am    Post subject: Reply with quote

DookFook wrote:
Wally4000, I already have joysens.prx. however, with this plugin running dosbox doesn't receive any mouse input


so what happens instead??
Back to top
View user's profile Send private message AIM Address
Murdock



Joined: 21 May 2006
Posts: 110

PostPosted: Fri Sep 28, 2007 3:02 am    Post subject: Reply with quote

Wally4000 wrote:
DookFook wrote:
Wally4000, I already have joysens.prx. however, with this plugin running dosbox doesn't receive any mouse input


so what happens instead??


Sorry folks, but isn't this a little off topic? THe problem doesn'T seem to be Dosbox ... and the answer to the question whether it'S possible to get the arros doing the mouse movement is most likely NO :( sorry, but until CrazyC says sth. else I don't think so.

a prx which "switches" the inputs does simply not exist. So you either repair ur psp, buy a new one or you don'T use DosBox ... :( I'm sorry for u that ur PSP is wrecked, but this does not belong into this topic ...
Back to top
View user's profile Send private message
aTomIC



Joined: 28 Aug 2007
Posts: 35

PostPosted: Sun Sep 30, 2007 11:33 pm    Post subject: Reply with quote

Ups, CrazyC. I tried different machines like tandy, cga or pcjr with command keen 4 and i get this error:

Quote:
Exit to error: CacheBlock overrun 2 written 4300 size 4124


Is vga the only machine that runs in psp dosbox?
Back to top
View user's profile Send private message Visit poster's website
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Mon Oct 01, 2007 12:30 am    Post subject: Reply with quote

aTomIC wrote:
Ups, CrazyC. I tried different machines like tandy, cga or pcjr with command keen 4 and i get this error:

Quote:
Exit to error: CacheBlock overrun 2 written 4300 size 4124


Is vga the only machine that runs in psp dosbox?
This error means a recompiled code block overran it's buffer into the next one. There are two possible fixes, both of which may negatively effect performance.
Quote:
could you give me an example of what this line would look like. I have tried using the line shown in the forums, however I recieve "the image must be on a host or local drive", I have tried playing with the context a bit, but can't seem to get it, an example of a working line would be awsome
What is the exact, in bytes, size of your memstick?
Quote:
b) edit somewhere is dosbox's config so I can change the default mouse input to the dpad instead of the analog stick.
This would limit the number of buttons way too much.
Back to top
View user's profile Send private message
sersoft



Joined: 09 Oct 2007
Posts: 2

PostPosted: Tue Oct 09, 2007 6:19 am    Post subject: Reply with quote

OK I got windows 3.11 to run on the psp, it runs all the programs except Write, but I can use notepad, anyway I was wondering how do I install sound drivers?(what card does dosbox use?) Also is it possible to run windows at 480x272? cuz it's getting hard to read the shrinked 640x480...

edit: yay I got sound to work, couldn't find the right ports at first...

Anyway what can I do about the resolution?
_________________
PSP FW History: (I bought a used psp with CFW) - 3.40OE-A - 3.52 M33-4
:P
Back to top
View user's profile Send private message
aTomIC



Joined: 28 Aug 2007
Posts: 35

PostPosted: Tue Oct 09, 2007 6:52 pm    Post subject: Reply with quote

nothing, all dos video modes will be fit to 480x272.
Back to top
View user's profile Send private message Visit poster's website
andrewwan1980



Joined: 05 Oct 2007
Posts: 38

PostPosted: Wed Oct 10, 2007 2:24 am    Post subject: Reply with quote

Crazy C, are you the main programmer of DOSBox for PSP? And do you have a website/homepage for DOSBox for PSP?

Also, I been trying your releases but couldn't understand how to get DOSBox for PSP to work. Your latest releases are basically zip/rar files of the filename dosbox. No extension or readme files. Please expand more and release a better user-friendlier release.
Back to top
View user's profile Send private message
fourmyfriends



Joined: 04 Aug 2007
Posts: 18

PostPosted: Wed Oct 10, 2007 10:36 am    Post subject: can't get it to work hugh? Reply with quote

read back just the last two pages and I'm sure you will find that members have made this as painless as possible, just go up a page or so, and you a complete file download with instructions and everything,
please read atleast a couple pages before asking those kinda questions
Back to top
View user's profile Send private message Yahoo Messenger
andwhyisit



Joined: 31 Jul 2007
Posts: 21

PostPosted: Wed Oct 10, 2007 10:45 am    Post subject: Reply with quote

andrewwan1980 wrote:
Crazy C, are you the main programmer of DOSBox for PSP? And do you have a website/homepage for DOSBox for PSP?

Also, I been trying your releases but couldn't understand how to get DOSBox for PSP to work. Your latest releases are basically zip/rar files of the filename dosbox. No extension or readme files. Please expand more and release a better user-friendlier release.

The file dosbox (no extention) is a .elf file, so add the .elf extension (rename to dosbox.elf) and use the elf2pbp program to convert it to a .pbp file and rename to eboot.pbp, and put it into a folder with the dosbox.conf file and put that folder in your GAME/GAME150 folder on your memstick.
Back to top
View user's profile Send private message
twonth



Joined: 07 Sep 2007
Posts: 6

PostPosted: Thu Oct 11, 2007 6:48 am    Post subject: page fault Reply with quote

I've been running Maple V release 3 with the PSP version of DOSBOX for a while now.

It mostly works great, so I was surprised last night that it crashed while trying to evaluate zeta(1/2):
"Abnormal program termination. Page fault.
CS: EIP = 000Fh:000516F6h".

I've tried messing with the DOSBOX.CONF settings (changing around the memory options, and setting the CPU core to normal), but I always get a page fault error. The same computation runs fine if I run MAPLE through DOSBOX on my PC (with similar DOSBOX.CONF settings).

Anyone have a possible workaround for a problem like this? Thanks, Paul.
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Thu Oct 11, 2007 8:55 am    Post subject: Re: page fault Reply with quote

twonth wrote:
"Abnormal program termination. Page fault.
CS: EIP = 000Fh:000516F6h".
I can only guess, but the zeta function is probably calculated with a lookup table and precision problems or an incorrect opcode implementation in the x87 emulator may cause the table to be overrun or underrun. If you can look at the fpu_instructions_vfpu.h file in the patch to see if there are any problems.
Back to top
View user's profile Send private message
twonth



Joined: 07 Sep 2007
Posts: 6

PostPosted: Thu Oct 11, 2007 10:29 am    Post subject: page fault Reply with quote

Thanks for the diagnosis, crazyc. It's too bad that I'm not qualified to detect any problems in the fpu_instructions_vfpu.h file. Sadly, Maple has more problems than I thought; asking Maple to numerically evaluate the Lambert W function or the digamma function Psi brings up the exact same message: "Abnormal program termination. Page fault. CS: EIP = 000Fh:000516F6h". <shrugs> At least Maple's symbolic integration routines still seem to work fine (and are quite the party trick).

BTW, thanks again for all your hard work on DOSBOX. It is much appreciated! Best, Paul
Back to top
View user's profile Send private message
vaporize



Joined: 12 Oct 2007
Posts: 10

PostPosted: Fri Oct 12, 2007 3:15 am    Post subject: Reply with quote

Hello Crazyc
First, I want to thank you for your great work !
I'm taking a lot of fun with your program.

I just want to inform you and the community about my psp dosbox activities and issues.
All softwares / games was tested and are fully working on x86 Dosbos 0.72.

- Windows 3.11 works great ! (Imgmount is great)

- Applications under Win 3.11 are slow but works ! (blockdev and pagefile lines in system.ini was removed, else got errors dialog box on applications launch)

- Msdos cards games works

- Elder Scrolls Arena, I have errors : "exit to error: CacheBlock overrun 2 written 4300 size 4144".
Curiously, it was slowly working on an older pspdosbox release (0.60mod build May 31 2007)

- Discworld 1 is working, so many thanks !!!
Sound are working at the start of the game, but ingame sound (midi & bgm) disappears.

- Discworld 2 at launch shows me this error message :
DosBox build Sep 22 2007 13:15:12
Exception - Bus error (data)
EPC - 088E97AO
Cause - 1000001C
Status - 60008613
BadVAdrdr - 00000000

Next game : Daggerfall (Everybody has a dream ^^)


Then I have some tiny configurations problems.
Keybinding, it does not working for me, are theses lines correct ? :

Quote:

INPUTMAP up up
INPUTMAP right right
INPUTMAP down down
INPUTMAP left left
INPUTMAP triangle esc
INPUTMAP square f1
INPUTMAP cross space
INPUTMAP circle enter


And a latest thing, I can't write in numeric, "down + LTrigger + X" seems not working for me. I've tested all possibilies during 15min... O_o', no way to have a single number.

Please continue your marvelous work !
Back to top
View user's profile Send private message
andrewwan1980



Joined: 05 Oct 2007
Posts: 38

PostPosted: Fri Oct 12, 2007 9:24 pm    Post subject: Reply with quote

First bug: INPUTMAP exec doom2
This line only works if doom2 is an exe and not another batch file. (haven't tried using CALL command). If the exe expects parameters then this line will not work properly. I am trying to run Jack In the Dark and it requires two arguments otherwise the game won't run. The original Jack.bat file is:
----
@echo off
indark2 16 1
cleardrv >NUL
----
So I tried "INPUTMAP exec indark2 16 1" (with the INPUTMAP keys setup before this line) and it doesn't load. Anyone know how to get around this?

Regarding crazyc's dosbox.conf I notice memsize=5 (instead of default 16). Is 5MB the max we can get on fat PSP? Can this be increased to 16MB on slim PSP?

Is it ok to change core=auto (default) instead of your dynamic setting? Also, cycles=sync is new to me. Is it possible to set this to max? Reason why is because I found core=auto & cycles=max settings are the best for original DOSBox to run heavy games like Blood, etc. Was wondering whether we can push PSPDOSBox this way too.



PS: Is the emunews24.de dosbox 2007/09/24 hosted zip the latest? Looks a bit different from crazyc's hosted dosbox.conf file (with additional mincycles, etc.)

PSS: Also, crazyc, do you have the patch/diff file for dosbox 0.60?

PSSS: Want to say that oldskool coder demos run on pspDOSBox. I can run Valhalla's Solstice, Fluid Motion, Robotnik, Ninja2, Juice, Ambience... but jerky though....
Back to top
View user's profile Send private message
aTomIC



Joined: 28 Aug 2007
Posts: 35

PostPosted: Fri Oct 12, 2007 10:18 pm    Post subject: Reply with quote

0.71 Build 24.9.2007 is the latest compiled version of PSP Dosbox. You can set the ram to max. 10 mb. I added the new commands to the dosbox.conf, but you can use the "normal" dosbox.conf by CrazyC at this forum.

@INPUTMAP exec doom2
it works with .com files, too. BAT is ony a batch file and no execute file, so exec myfile.bat won't work.
Back to top
View user's profile Send private message Visit poster's website
vaporize



Joined: 12 Oct 2007
Posts: 10

PostPosted: Fri Oct 12, 2007 11:42 pm    Post subject: Reply with quote

Thanks andrewwan1980, with your post you show me my error.
I was forgotten "INPUTMAP exec xxx", so it's was logical.... without launching the program with inputmap it can't work... =)

Thank aTomIC for showing me the latest build.... I've just downloaded it.
In reality it's the same build, Sept 22 2007.

It seems that Discworld 1 works with BGM sounds ingame (no MIDI), it's almost perfect. I don't understand it's the same build... ^^'

Let's try another games :
- Dungeon Keeper 1, error at loading : ""incorrect command 1"
- Daggerfall : Big big loading but IT WORKS !!!!!! (Awesome)
It's very slow (Like Arena on Psp Dosbox 0.60) but it's the beggining of emulation, is my dream will become true ?


Last edited by vaporize on Sat Oct 13, 2007 1:37 am; edited 2 times in total
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sat Oct 13, 2007 1:06 am    Post subject: Reply with quote

vaporize wrote:

- Elder Scrolls Arena, I have errors : "exit to error: CacheBlock overrun 2 written 4300 size 4144".
Curiously, it was slowly working on an older pspdosbox release (0.60mod build May 31 2007)
As I said above about this error, there are two possible fixes, both of which may negatively effect performance.
vaporize wrote:

- Discworld 2 at launch shows me this error message :
DosBox build Sep 22 2007 13:15:12
Exception - Bus error (data)
EPC - 088E97AO
Cause - 1000001C
Status - 60008613
BadVAdrdr - 00000000
Could you post the full output from the latest build?
Quote:
So I tried "INPUTMAP exec indark2 16 1" (with the INPUTMAP keys setup before this line) and it doesn't load. Anyone know how to get around this?
I'll look at this, but until then you can use the button combo to change the mode.
Quote:
Is it ok to change core=auto (default) instead of your dynamic setting? Also, cycles=sync is new to me. Is it possible to set this to max? Reason why is because I found core=auto & cycles=max settings are the best for original DOSBox to run heavy games like Blood, etc. Was wondering whether we can push PSPDOSBox this way too.
Auto and max work just as in pc dosbox, if they work better use them. Sync tries to synchronize the cycles to the psp vsync.
Quote:
PSS: Also, crazyc, do you have the patch/diff file for dosbox 0.60?
Yes , but out of curiosity, what do you want to do with it. dosbox-60.patch.gz
Back to top
View user's profile Send private message
vaporize



Joined: 12 Oct 2007
Posts: 10

PostPosted: Sat Oct 13, 2007 1:24 am    Post subject: Reply with quote

crazyc wrote:
Could you post the full output from the latest build?


Sure, I've taken a photo (screenshot.prx does not work)
It's a little blurry, but readable.

Back to top
View user's profile Send private message
W00fer



Joined: 13 Apr 2007
Posts: 40

PostPosted: Sat Oct 13, 2007 10:58 am    Post subject: Reply with quote

I got Grand Theft Auto 1, and controls aren't working with INPUTMAP.
Also i got this BUS error.

Anybody got a fix ? It's also running REALLY slow.

Back to top
View user's profile Send private message
vaporize



Joined: 12 Oct 2007
Posts: 10

PostPosted: Sat Oct 13, 2007 2:23 pm    Post subject: Reply with quote

W00fer your screenshot seems perfect.
How do you have taken it ? (Personnaly I'm taking photo with my camera.. : /)


Else I've tested others games :

- Dungeon Master 1 : Game is fully working, fast with sound, but there is one problem, if I use inputmap the game restart at the beggining.
Without inputmap it works perfectly but playing Dungeon master Psp with only analog stick.... it will be very hard : /
- Dungeon Master 2 : The first logo appears, then another Bus error :

- Dungeon Keeper : Error message after Dos/4GW Runtime loaded : "ERROR : Incorrect command : 1"
- Civilization : Slow but works, playable
- Colonization : Freeze after the intro
- Heroes of Might & Magic : A Little slow but fully working, playable
- King's Quest 5 : Slow but works
- Leisure Suit Larry 5 : Slow but works
- Leisure Suit Larry 7 : Slow and can't go after the introduction (when Larry fall of the balcony), curiously Dosbox is working, it's the game which has freeze.
- Populous 2 : Fast and fully working, Playable
- Space Quest 5 : Slow but works
- Ultima 8 : Not starting, it requires FILES=40 in config.sys, and it tells me that we have currently FILES=14. Anyway Dosbox does not have a Config.sys
- Ultima Underworld : A little slow but fully working. If you're reducing level detail to medium it's perfectly playable !
- Ultima Underworld 2 : Same than Ultima Underworld
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sat Oct 13, 2007 11:12 pm    Post subject: Reply with quote

vaporize wrote:

- Dungeon Master 1 : Game is fully working, fast with sound, but there is one problem, if I use inputmap the game restart at the beggining.
Without inputmap it works perfectly but playing Dungeon master Psp with only analog stick.... it will be very hard : /
What do you mean by "restart at the beginning"?
vaporize wrote:

- Dungeon Master 2 : The first logo appears, then another Bus error :
This, GTA1 in Woofer's post, and Discworld2 at crashed in the same function, I'll look at it when I can.
vaporize wrote:
- Dungeon Keeper : Error message after Dos/4GW Runtime loaded : "ERROR : Incorrect command : 1"
Try using dos32a.
vaporize wrote:
- Ultima 8 : Not starting, it requires FILES=40 in config.sys, and it tells me that we have currently FILES=14. Anyway Dosbox does not have a Config.sys
This is probably the memory stick open files problem, use imgmount.
Back to top
View user's profile Send private message
Murdock



Joined: 21 May 2006
Posts: 110

PostPosted: Sat Oct 13, 2007 11:46 pm    Post subject: Reply with quote

Folks, come on!

Half the questions you are asking have already been answered at least 4 times here in the forum ...

Take ur time to read through it, as others have done before you! I even spend some hours and made a rudimentary manual for DosBox PLUS I compiled DosBox, added stuff for you to make it easy to use, etc. ... I don't even expect any1 to appreciate that, but at least show respect by READING the thread b4 spamming it with du... not dumb, but unnecessary questions, THANK YOU!

again: link to manual and latest DosBox ... if there's a password, then it is "Murdock", I can'T remember atm ...

A new version of the manual is following within the next few days. Maybe Crazy, can u add it to the first post of yours, in which you are updating your releases? I think it MIGHT prevent further repetitions ... if u agree to add it, I'll send you the PDF in a PM ...
Back to top
View user's profile Send private message
vaporize



Joined: 12 Oct 2007
Posts: 10

PostPosted: Sun Oct 14, 2007 12:29 am    Post subject: Reply with quote

crazyc wrote:
What do you mean by "restart at the beginning"?

I mean that the game reboot.
If I launch dm.exe it works great
If I launch inputmap exec dm, the game goes to the main menu, then restart.

crazyc wrote:
Try using dos32a.

It works ! Thanks

crazyc wrote:
This is probably the memory stick open files problem, use imgmount.

I can't use imgmount, the game does not require cd, it requires only main directory. Do you mean creating an .img file (with bximage) containing a virtual hdd then install the game on ? (Like for Windows 3.11)



@Murdock :
I've read the entire thread, english is not my natal language, I do my best. I think I'm not asking too much dumb questions, I'm reporting my experiences with CrazyC program and several Applications.
Dumbs questions I've asked are about the keyboard (Down + LTrigger + X to have Numerical does not work for me) and how to make a screenshot, sorry but I have not found any answer to these questions.
And yes please, send me your faq/manual =)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 22, 23, 24  Next
Page 19 of 24

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group