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, now with 100% less drama
Goto page Previous  1, 2, 3, 4, 5, 6 ... 15, 16, 17  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Wed Feb 06, 2008 5:49 am    Post subject: Reply with quote

u cant ask for imgs here its illegal , find them on ur own.
Back to top
View user's profile Send private message Send e-mail
paco.



Joined: 05 Sep 2007
Posts: 19

PostPosted: Wed Feb 06, 2008 5:57 am    Post subject: Reply with quote

I have just run win95 in the pc dosbox but in the psp but says to me that the unit c must be mounted in a local unit .
what have I to do?

Bye chazz
Back to top
View user's profile Send private message
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Wed Feb 06, 2008 6:02 am    Post subject: Reply with quote

oh and crazyc when I use the command line I told ya I get this:

booting from drive c. . .
missing operating system

then nothing boots and I cant type anything.

but when I use it on an older version it works and I get this:

booting from drive c. . .
starting windows 95

then windows 95 boots and works great!
Back to top
View user's profile Send private message Send e-mail
paco.



Joined: 05 Sep 2007
Posts: 19

PostPosted: Wed Feb 06, 2008 6:08 am    Post subject: Reply with quote

Chazz you have an message.
Bye
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Wed Feb 06, 2008 6:40 am    Post subject: Reply with quote

Dark Chazz wrote:
oh and crazyc when I use the command line I told ya I get this:

booting from drive c. . .
missing operating system

then nothing boots and I cant type anything.

but when I use it on an older version it works and I get this:

booting from drive c. . .
starting windows 95

then windows 95 boots and works great!
The problem is the new code calculates a different disk geometry then the old code. The boot sector gets confused when the formatted geometry doesn't match the BIOS geometry. If you use the -size parameter to imgmount, with the parameters you created the image with, it should work. I'll try to come up with a solution for the automatic calculation when I get a chance.
Back to top
View user's profile Send private message
Stabwound



Joined: 07 Feb 2008
Posts: 2

PostPosted: Thu Feb 07, 2008 6:26 am    Post subject: Reply with quote

Hi,

Is there any way to map button _combos_ to a certain keypress?

Like, if I want to map "ltrigger + up = UP (keyboard)" is it possible?

I looked around a lot, but couldn't find any info about this.

Thanks, and awesome work here! :)
Back to top
View user's profile Send private message
indstr



Joined: 07 Feb 2008
Posts: 13

PostPosted: Thu Feb 07, 2008 4:33 pm    Post subject: Reply with quote

so, i just got my targus keyboard in the mail, but i can't get it to work with dosbox. i've been messing for over 2 hours now.

i'm running 3.52 m33, pikey 0.3, the keyboard works in vsh and retail games, but i can't get it to work in ANY homebrew apps. (not even in CTRL mode)

for dosbox, i have the keymap ini files, and my pspirkeyb.ini looks like this:

Code:
[KEYBOARD]
mapfile_dir = 'ms0:/PSP/GAME150/Dosbox/keymap';
# change this to your needs
map = 'default.ini';
# change this to your needs
keyboard = 15 ;


i have tried out of the "game" folder, tried using the targus-include.ini.
i tried deleting the pikey output plugins. nothing works.

i can change my CTRL mode mappings to control the VSH with different keys, but every single homebrew i've tried hasn't responded to the keyboard, so i don't think it's dosbox that has the problem, but something else about my configuration.

anybody have any ideas?

thanks
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Feb 07, 2008 5:06 pm    Post subject: Reply with quote

Try it with pikey off. Pikey is for programs without direct keyboard support, and I think it locks the keyboard for itself while running. Programs using pspirkeyb directly don't need pikey. Dosbox works fine for me with the targus and palm without pikey active.
Back to top
View user's profile Send private message AIM Address
hartraft



Joined: 02 Feb 2008
Posts: 1

PostPosted: Thu Feb 07, 2008 6:53 pm    Post subject: Reply with quote

I have a targus k/b too. What steps do you need to do to get it working? Where did you find out u need to put a keymap.ini and pspirkeyb.ini somewhere? Sorry i'm new to this, help pls...

thanks

indstr wrote:
so, i just got my targus keyboard in the mail, but i can't get it to work with dosbox. i've been messing for over 2 hours now.

i'm running 3.52 m33, pikey 0.3, the keyboard works in vsh and retail games, but i can't get it to work in ANY homebrew apps. (not even in CTRL mode)

for dosbox, i have the keymap ini files, and my pspirkeyb.ini looks like this:

Code:
[KEYBOARD]
mapfile_dir = 'ms0:/PSP/GAME150/Dosbox/keymap';
# change this to your needs
map = 'default.ini';
# change this to your needs
keyboard = 15 ;


i have tried out of the "game" folder, tried using the targus-include.ini.
i tried deleting the pikey output plugins. nothing works.

i can change my CTRL mode mappings to control the VSH with different keys, but every single homebrew i've tried hasn't responded to the keyboard, so i don't think it's dosbox that has the problem, but something else about my configuration.

anybody have any ideas?

thanks
Back to top
View user's profile Send private message
indstr



Joined: 07 Feb 2008
Posts: 13

PostPosted: Thu Feb 07, 2008 11:20 pm    Post subject: Reply with quote

J.F. wrote:
Try it with pikey off. Pikey is for programs without direct keyboard support, and I think it locks the keyboard for itself while running. Programs using pspirkeyb directly don't need pikey. Dosbox works fine for me with the targus and palm without pikey active.


still doesn't work for me

:(
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Feb 08, 2008 5:54 am    Post subject: Reply with quote

For pspirkeyb, I put the stuff into seplugins, not seplugins/pikey (actually, it's in BOTH to make both work).

pspirkeyb.ini
Code:
#
# pspirtty keyboard driver
#

[KEYBOARD]
mapfile_dir = 'ms0:/seplugins/keymap';
# change this to your needs
map = 'targus.ini';
# change this to your needs
keyboard = 15;
# number of calls that fail to return a new key before last key repeats
delay = 50;
# number of calls that fail to return a new key between key repeats
rate = 10;

##############################
# possible "keyboard" values #
##############################
#
# 0  - NO keyboard
#
# 1  - Compaq/HP foldable keyboard
# 2  - Snap'n'Type
# 5  - HP Slim keyboard
# 8  - Belkin IR (not IrDA)
# 9  - Flexis FX-100 keyboard
# 10 - Benq G250 gamepad
# 11 - Micro Innovation Pocketop keyboard
# 12 - Micro Innovations Foldaway keyboard
# 13 - Micro Innovations Datapad
# 14 - Compaq MicroKeyboard
# 15 - Targus Universal Wireless keyboard
# 18 - Freedom keyboard
# 19 - NOVAETS - KIS2 - IR Keyboard
# 20 - Palm Universal Wireless Keyboard
# 21 - Hama Palm IR keyboard
# 22 - Sprint PDA Keyboard


With the keymap directory in 'ms0:/seplugins' along with the 'irkeyb.prx' file.
Back to top
View user's profile Send private message AIM Address
indstr



Joined: 07 Feb 2008
Posts: 13

PostPosted: Fri Feb 08, 2008 5:58 am    Post subject: Reply with quote

i guess that could do it! i'll try it when i get home. thanks for the tip :)
Back to top
View user's profile Send private message
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Fri Feb 08, 2008 6:29 am    Post subject: Reply with quote

crazyc here r Dosboxpsp problems:
-after boot dosbox doesn't detect any mounted hard drives using regular mount.
-after boot dosbox doesn't detect any cdrom drive mounted with either imgmount or regular mount.
-after boot dosbox doesn't detect more than 2 imgmounted hard drives.
-dosbox doesn't save the img (read only???).
-dosbox can't save when using a txt editor.
-some read/write error with the CS:IP (w98 has a hard time because of that I need to put the serial one to directserial in order to boot w98.
Back to top
View user's profile Send private message Send e-mail
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Fri Feb 08, 2008 6:34 am    Post subject: Reply with quote

oh and crazyc please fix a least the first one it would be really great to be able to access the ms0 in w95-3.1-98
Back to top
View user's profile Send private message Send e-mail
indstr



Joined: 07 Feb 2008
Posts: 13

PostPosted: Fri Feb 08, 2008 2:33 pm    Post subject: Reply with quote

J.F. wrote:
For pspirkeyb, I put the stuff into seplugins, not seplugins/pikey (actually, it's in BOTH to make both work).

pspirkeyb.ini

With the keymap directory in 'ms0:/seplugins' along with the 'irkeyb.prx' file.


excellent. this made it work! although i don't have the irkeyb.prx file and have no idea where to get it (couldn't find it anywhere).

unfortunately my targus has the delay that some people have complained of...

also, how the heck do i use F-keys? i've tried changing the ini to no avail
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Feb 09, 2008 7:23 am    Post subject: Reply with quote

indstr wrote:
J.F. wrote:
For pspirkeyb, I put the stuff into seplugins, not seplugins/pikey (actually, it's in BOTH to make both work).

pspirkeyb.ini

With the keymap directory in 'ms0:/seplugins' along with the 'irkeyb.prx' file.


excellent. this made it work! although i don't have the irkeyb.prx file and have no idea where to get it (couldn't find it anywhere).

unfortunately my targus has the delay that some people have complained of...

also, how the heck do i use F-keys? i've tried changing the ini to no avail


You'll find the latest pspirekyb here: http://forums.ps2dev.org/viewtopic.php?t=9599

I haven't gotten around to adding the keyboard in the diff file later in the thread as it was apparently made from the repo pspirkeyb instead of the one in the thread, so I have to add that by hand.

Many devs are still using old pspirkeyb libs when compiling their code. The repo is old - corresponding to pikey 0.3. The lib in the zip in the thread corresponds to pikey 0.4 - one of the changes was to the targus driver (and hama driver). Some folks are still using the REALLY old pspirkeyb made when the devkit they are using was put together (that's the problem with devkits). If they are using the statically linked library, they'll be using the old code no matter what is in the seplugins directory.

BTW, you'll find irkeyb.prx in pspirkeyb-080105.zip/pspirkeyb/pspirkeybprx/.

BTW2, the pspirkeyb in the zip fixes the install problem the repo pspirkeyb has (permission issue because it was trying to copy the .svn directory to the sample directory). The way I install the libraries:

Run the libraries.sh script. When it fails (and it should when it hits the repo version of pspirkeyb), then do make install on my pspirkeyb from the zip above to get the latest pspirkeyb installed, then run libraries.sh 16 17 18 19 20 21 to get the rest of the libraries after the keyb lib.
Back to top
View user's profile Send private message AIM Address
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sat Feb 09, 2008 8:31 am    Post subject: Reply with quote

J.F. wrote:

I haven't gotten around to adding the keyboard in the diff file later in the thread as it was apparently made from the repo pspirkeyb instead of the one in the thread, so I have to add that by hand.
Are you talking about the diff I posted? That can't be true as PSP_IRKBD_TYPE_SPRINT isn't in the svn version.

Dark Chazz wrote:
-after boot dosbox doesn't detect any mounted hard drives using regular mount.
-after boot dosbox doesn't detect any cdrom drive mounted with either imgmount or regular mount.
Do you mean, after booting win95 you can't see the other mounted drives? Dosbox has never supported this.
Quote:
-after boot dosbox doesn't detect more than 2 imgmounted hard drives.
Not sure what you mean by this.
Quote:
-dosbox doesn't save the img (read only???).
-dosbox can't save when using a txt editor.
If the image is mounted as a cdrom, then it's read only.
Quote:
-some read/write error with the CS:IP (w98 has a hard time because of that I need to put the serial one to directserial in order to boot w98.
I'll need more detail. If you are trying to boot win98, Dosbox doesn't support that either.
Back to top
View user's profile Send private message
paco.



Joined: 05 Sep 2007
Posts: 19

PostPosted: Sun Feb 10, 2008 12:11 am    Post subject: Reply with quote

Does dosbox recognize USB?
My friend has loaded win98 in psp with dosbox,but is very slow
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Feb 10, 2008 2:30 am    Post subject: Reply with quote

paco. wrote:
Does dosbox recognize USB?

No.
Quote:
My friend has loaded win98 in psp with dosbox,but is very slow
Of course.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Feb 10, 2008 6:31 am    Post subject: Reply with quote

crazyc wrote:
J.F. wrote:

I haven't gotten around to adding the keyboard in the diff file later in the thread as it was apparently made from the repo pspirkeyb instead of the one in the thread, so I have to add that by hand.
Are you talking about the diff I posted? That can't be true as PSP_IRKBD_TYPE_SPRINT isn't in the svn version.


That's odd - when I tried to run patch using that diff on the source in the archive in the thread, it completely bombed out, giving errors all over the place about conflicts and not being able to handle hunks and whatnot.
Back to top
View user's profile Send private message AIM Address
indstr



Joined: 07 Feb 2008
Posts: 13

PostPosted: Mon Feb 11, 2008 1:03 pm    Post subject: Reply with quote

J.F. wrote:

You'll find the latest pspirekyb here: http://forums.ps2dev.org/viewtopic.php?t=9599


so i tried this irkeyb.prx... what does this actually do? what do i need to do with it. i tried adding it to vsh.txt and game.txt, and enabling in the cfw menu. i don't notice any difference though, dosbox is still slow with my targus
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Feb 11, 2008 1:34 pm    Post subject: Reply with quote

indstr wrote:
J.F. wrote:

You'll find the latest pspirekyb here: http://forums.ps2dev.org/viewtopic.php?t=9599


so i tried this irkeyb.prx... what does this actually do? what do i need to do with it. i tried adding it to vsh.txt and game.txt, and enabling in the cfw menu. i don't notice any difference though, dosbox is still slow with my targus


irkeyb.prx is the shared library version of the keyboard drivers. Most programs use the static library - the keyboard support is fixed at compile time, so updating the pspirkeyb stuff in seplugins won't have any affect for programs that compile in pspirkeyb. For those programs, you need to bug the author of the program to update his libraries (and in some cases, the whole toolchain).
Back to top
View user's profile Send private message AIM Address
Tzetze



Joined: 12 Feb 2008
Posts: 2

PostPosted: Tue Feb 12, 2008 3:01 am    Post subject: Reply with quote

Hi guys, quick question regarding dosbox (hope this is in the right place).

I'm trying to get Ultima 8 running and am being told by the application that "Files=15!, please set Files=40 in your config.sys"

Comparing .conf files between my PC (on which u8 runs) and my PSP doesn't show any obvious setting difference.

Is there anyway to incorporate Files=40 into my PSP's .conf file?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Feb 12, 2008 8:00 am    Post subject: Reply with quote

put files=40 into the .conf file under autoexec thing
Back to top
View user's profile Send private message AIM Address
Tzetze



Joined: 12 Feb 2008
Posts: 2

PostPosted: Tue Feb 12, 2008 8:14 am    Post subject: Reply with quote

Wally4000 wrote:
put files=40 into the .conf file under autoexec thing


It's meant to be processed as part of config.sys not autoexec.bat
Files is an unrecognised command and can't be used under autoexec.

Thanks for the offer of help though.
Back to top
View user's profile Send private message
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Wed Feb 13, 2008 2:49 am    Post subject: Reply with quote

hey crazyc for the:

1st and 2nd yes thats what I mean. If you can for the next release of Dosbox can you please add support.
3rd 4th and 5th I mean any mounted img.
6th Ya I'm trying to boot w98 please add support.

as I told you when you save a file you edited with a text editor it doesn't work(save) can you fix that ?
Back to top
View user's profile Send private message Send e-mail
Dark Chazz



Joined: 04 Feb 2008
Posts: 35

PostPosted: Wed Feb 13, 2008 4:16 am    Post subject: Reply with quote

double post... anyways here some errors with psp Dosbox:

-config -get(just freezes and shuts off the psp)
-cant change cycles in the new Dosbox (when start Dosbox screen stays black)
Back to top
View user's profile Send private message Send e-mail
Murdock



Joined: 21 May 2006
Posts: 110

PostPosted: Wed Feb 13, 2008 9:23 am    Post subject: Reply with quote

Dark Chazz wrote:
hey crazyc for the:

1st and 2nd yes thats what I mean. If you can for the next release of Dosbox can you please add support.
3rd 4th and 5th I mean any mounted img.
6th Ya I'm trying to boot w98 please add support.

as I told you when you save a file you edited with a text editor it doesn't work(save) can you fix that ?


I don't want to start an argument (again), but have u ever thought about the possibility that if sth. doesn't work it is ur OWN fault and not that the application doesn'T support it? ...

Win98 has already been successfully run on DosBox ... so if it runs on other ppl.s DosBox4PSP and not on urs ... hmm, is it the apps fault? *irony*

If u can'T write to the image (like u said if u want to save a txt file), it is AGAIN not the apps fault! U just have to use WRITABLE images ... it's kinda complicated, I know ... took me some time, but believe me, it WORX!
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Feb 13, 2008 9:30 am    Post subject: Reply with quote

Tzetze wrote:
Wally4000 wrote:
put files=40 into the .conf file under autoexec thing


It's meant to be processed as part of config.sys not autoexec.bat
Files is an unrecognised command and can't be used under autoexec.

Thanks for the offer of help though.


Ah yeah :/
Back to top
View user's profile Send private message AIM Address
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Wed Feb 13, 2008 9:59 am    Post subject: Reply with quote

Dark Chazz wrote:
hey crazyc for the:

1st and 2nd yes thats what I mean. If you can for the next release of Dosbox can you please add support.
6th Ya I'm trying to boot w98 please add support.

I can't add support, this would have to be fixed upstream. You can ask the dosbox developers, but the first is very difficult and unlikely to happen, and the second (win98) is beyond the scope of the program. With win3.1 (not win95) if you run it from the dosbox shell instead of booting DOS you can see the mounted drives.
Quote:
3rd 4th and 5th I mean any mounted img.
I'll take a look at it.
Quote:
as I told you when you save a file you edited with a text editor it doesn't work(save) can you fix that ?
I've saved files before, which text editor are you using?
Quote:
Is there anyway to incorporate Files=40 into my PSP's .conf file?
This is discussed earlier in the thread, because of limitations of the psp memory stick driver, any app that wants to open more then about 9 files won't work unless you use a disk image.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6 ... 15, 16, 17  Next
Page 5 of 17

 
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