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 ... 6, 7, 8 ... 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
psp_sfdm



Joined: 01 Jun 2007
Posts: 2

PostPosted: Fri Jun 01, 2007 1:50 pm    Post subject: Reply with quote

Hello crazyc,

Thank you for continuing your work on dosbox, but I have one question: When I go to the first page of your post, the link to your stat_trunc.c file don't work anymore. Do you know where I can get this file?

Also, do you know where I can get arwin's p-sprint and SDL (with 8-bit surface patch) files so that I can compile dosbox using your patch?

Thanks.
Back to top
View user's profile Send private message
futaris



Joined: 28 Dec 2005
Posts: 45

PostPosted: Fri Jun 01, 2007 1:58 pm    Post subject: Reply with quote

Also, what configure options are you using for dosbox?
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Jun 01, 2007 4:35 pm    Post subject: Reply with quote

crazyc wrote:
J.F. wrote:
The patch link on the first post isn't working any more. Is that because you're in the process of changing it to the latest? Or just a booboo? :)
The patch got so large that I'm gziping it now. I've fixed the link on the first page.


Okay. Thanks man!
Back to top
View user's profile Send private message AIM Address
Be3f



Joined: 15 Mar 2007
Posts: 59

PostPosted: Fri Jun 01, 2007 7:32 pm    Post subject: Reply with quote

Awesome update, GU buffer is really faster!
But how about porting the latest DosBox v0.70, instead of using old 0.60 as a base? v0,70 (for PC) has much higher capability, then 0.60!
_________________
00000110 00000110 00000110
Back to top
View user's profile Send private message Send e-mail
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sat Jun 02, 2007 12:09 am    Post subject: Reply with quote

psp_sfdm wrote:
Hello crazyc,

Thank you for continuing your work on dosbox, but I have one question: When I go to the first page of your post, the link to your stat_trunc.c file don't work anymore. Do you know where I can get this file?

Also, do you know where I can get arwin's p-sprint and SDL (with 8-bit surface patch) files so that I can compile dosbox using your patch?

Thanks.

stat_trunc.c is part of pspdev now. You will need ftruncate from http://forums.ps2dev.org/viewtopic.php?p=50683&highlight=ftruncate#50683. P-sprint is at http://www.niwra.nl/psp/p-sprint-c/doc/index.htm but I use a simplifed version that i put at http://home.wi.rr.com/crazyz/simple_p-sprint.tar.gz. SDL is not needed anymore. There is one file missing from the patch that i've put at http://home.wi.rr.com/crazyz/renderpsp.h.
Quote:
Also, what configure options are you using for dosbox?

The configure script will still look for sdl as I haven't bothered to fix it.
Code:
configure --host=psp --with-sdl-prefix=<your sdl path>
Back to top
View user's profile Send private message
db82



Joined: 30 May 2007
Posts: 3

PostPosted: Sat Jun 02, 2007 12:26 am    Post subject: Speedball 2:Brutal Deluxe on the PSP Reply with quote

Anyone wanting to play Speedball 2:Brutal Deluxe on the PSP -

Once you get dosbox working, download Speedball2 from here

Before copying the files to your PSP, make sure you edit SB2.INI so it says Joystick instead of Keyboard


Last edited by db82 on Sat Jun 02, 2007 1:46 am; edited 3 times in total
Back to top
View user's profile Send private message
psp_sfdm



Joined: 01 Jun 2007
Posts: 2

PostPosted: Sat Jun 02, 2007 12:45 am    Post subject: Reply with quote

Be3f wrote:
But how about porting the latest DosBox v0.70, instead of using old 0.60 as a base? v0,70 (for PC) has much higher capability, then 0.60!


See crazyc's response under Bluddy's on page 6 of this thread.

@crazyc: Thanks for the links. I hope to be able to build dosbox using these patch.
Back to top
View user's profile Send private message
futaris



Joined: 28 Dec 2005
Posts: 45

PostPosted: Sun Jun 03, 2007 6:50 pm    Post subject: Reply with quote

I must be missing something in my configure, since I keep getting:
make[4]: *** No rule to make target `me_cpu.o', needed by `libcpu.a'. Stop.
Back to top
View user's profile Send private message
Cooleo



Joined: 03 Jun 2007
Posts: 3
Location: Suffolk,England

PostPosted: Sun Jun 03, 2007 7:54 pm    Post subject: Mouse Support? Reply with quote

Hi, First Post :)

I love the DOS games, I was wondering, Where Can I download PBP? and when will there be Mouse Support? Dieing to get Windows 3.1 Running :P.

Thank You.

Cooleo
_________________
Please Help Me, Im a newbie :)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sun Jun 03, 2007 11:13 pm    Post subject: Reply with quote

futaris wrote:
I must be missing something in my configure, since I keep getting:
make[4]: *** No rule to make target `me_cpu.o', needed by `libcpu.a'. Stop.

That file is only needed if PSPME is defined, but it doesn't work due to severe cache coherency issues. Just create a dummy called me_cpu.c for now.
Back to top
View user's profile Send private message
futaris



Joined: 28 Dec 2005
Posts: 45

PostPosted: Mon Jun 04, 2007 9:34 pm    Post subject: Reply with quote

Ok. That's everything except for the new problem in SDL, in recent toolchains:

Code:

cpu/libcpu.a(callback.o): In function `default_handler()':
callback.cpp:(.text+0x28): undefined reference to `lastint'
callback.cpp:(.text+0x28): relocation truncated to fit: R_MIPS_GPREL16 against `lastint'
gui/libgui.a(sdlmain.o): In function `SDL_main(int, char**)':
sdlmain.cpp:(.text+0x310): relocation truncated to fit: R_MIPS_GPREL16 against `environ'

/usr/local/pspdev/psp/lib/libc.a(setsockopt.o): In function `setsockopt':
../../../../../../newlib/libc/sys/psp/socket.c:293: undefined reference to `sceNetInetSetsockopt'
../../../../../../newlib/libc/sys/psp/socket.c:296: undefined reference to `sceNetInetGetErrno'
/usr/local/pspdev/psp/lib/libc.a(setsockopt.o): In function `getsockopt':
../../../../../../newlib/libc/sys/psp/socket.c:167: undefined reference to `sceNetInetGetsockopt'
../../../../../../newlib/libc/sys/psp/socket.c:170: undefined reference to `sceNetInetGetErrno'


Any suggestions? http://forums.ps2dev.org/viewtopic.php?p=54609#54609 doesn't seem to fix it since it's in libgui.a.
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Mon Jun 04, 2007 11:32 pm    Post subject: Reply with quote

Code:

cpu/libcpu.a(callback.o): In function `default_handler()':
callback.cpp:(.text+0x28): undefined reference to `lastint'
callback.cpp:(.text+0x28): relocation truncated to fit: R_MIPS_GPREL16 against `lastint'
gui/libgui.a(sdlmain.o): In function `SDL_main(int, char**)':
sdlmain.cpp:(.text+0x310): relocation truncated to fit: R_MIPS_GPREL16 against `environ'

You'll have to set CXXFLAGS before running configure because it needs to contain -G0. I use "CXXFLAGS='-Os -msingle-precision-constant -frename-registers -ffast-math -G0 -finline -finline-limit=300 -fno-execptions -fno-rtti". Of course only -G0 is necessary, the optimization flags are good but I'm sure there are a better set.
Back to top
View user's profile Send private message
poomex



Joined: 06 Jun 2007
Posts: 3

PostPosted: Wed Jun 06, 2007 9:17 am    Post subject: Reply with quote

crazyc thanks for a great homebrew application!

I have created custom pics for 1.5 EBOOT - there's a preview:
EBOOT preview

If anybody wants a pre-made 1.5 EBOOT based on 01/06/2007 binary by crazyc, compatible with 3.40OE firmware, with custom pics and DN 1.51:
1.5 EBOOT

Prince of Persia 2 and UGH! are working like a charm.

I've been trying to run Death Rally 1.1 Shareware - it loads pretty long, all the menus are working really fine, but after loading a new race some sprites are messed up and the game freezes - sometimes right away and sometimes after a few seconds.

Could you take a look at that game?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Jun 06, 2007 1:17 pm    Post subject: Reply with quote

Good to see this project is ticking along very well!!

I wonder how well commander keen 4 runs now :)
Back to top
View user's profile Send private message AIM Address
BurnCycle



Joined: 07 Jun 2007
Posts: 2

PostPosted: Thu Jun 07, 2007 4:37 am    Post subject: Reply with quote

Hi there.
I just started to use this, but i already got some problems...
First i tried to create a menu in a .bat file to choose what game i wanted to play, when i run the .bat file it says:
"IIIegal command: CHOICE"
The choice command can't be used in DosBox?
My second problem is with the game 7 Cities of Gold. I run the game he plays the intro, but after that i got the error:
"Exit to error: PIC:Unhandled command 80"
Anyone can help me?
Thnkz for this program... is fantastic! ;)
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Jun 07, 2007 10:12 am    Post subject: Reply with quote

Supaplex is picking up in speed but still slow (as you said it would)

One thing i cant work out yet, Theme Park doesnt seem to be responsive with the mouse at all.. with or without batch settings..

Also some programs i have noticed the Enter key seems to be not responsive when its mapped.. (Jazz Jackrabbit setup)
Back to top
View user's profile Send private message AIM Address
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Thu Jun 07, 2007 12:11 pm    Post subject: Reply with quote

poomex wrote:

I've been trying to run Death Rally 1.1 Shareware - it loads pretty long, all the menus are working really fine, but after loading a new race some sprites are messed up and the game freezes - sometimes right away and sometimes after a few seconds.

Could you take a look at that game?

For me, the game crashes while loading even though it works fine on Windows. I'll look at it when I get a chance.
Quote:
I just started to use this, but i already got some problems...
First i tried to create a menu in a .bat file to choose what game i wanted to play, when i run the .bat file it says:
"IIIegal command: CHOICE"
The choice command can't be used in DosBox?
My second problem is with the game 7 Cities of Gold. I run the game he plays the intro, but after that i got the error:
"Exit to error: PIC:Unhandled command 80"
Anyone can help me?
Thnkz for this program... is fantastic! ;)
Adding CHOICE from dosbox cvs should be possible. It looks like there is a fix for 7 cities there too.
Quote:
Supaplex is picking up in speed but still slow (as you said it would)
It shouldn't be any faster then before, but the graphics should be fixed.
Quote:
One thing i cant work out yet, Theme Park doesnt seem to be responsive with the mouse at all.. with or without batch settings..
I don't know. The Theme Park demo works fine with the mouse for me.
Quote:
Also some programs i have noticed the Enter key seems to be not responsive when its mapped.. (Jazz Jackrabbit setup)
Haven't seen this. Any other examples? (I don't have Jazz Jackrabbit)
Back to top
View user's profile Send private message
jason alicat



Joined: 07 Jun 2007
Posts: 5

PostPosted: Thu Jun 07, 2007 12:30 pm    Post subject: Reply with quote

skyroads and jill of the jungle also seem to have problems when "enter" is mapped.
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Jun 07, 2007 1:14 pm    Post subject: Reply with quote

jason alicat wrote:
skyroads and jill of the jungle also seem to have problems when "enter" is mapped.


Zigzackly!!

Oh BTW Crystal caves works well!!
Back to top
View user's profile Send private message AIM Address
poomex



Joined: 06 Jun 2007
Posts: 3

PostPosted: Thu Jun 07, 2007 8:45 pm    Post subject: Reply with quote

crazyc wrote:

For me, the game crashes while loading even though it works fine on Windows. I'll look at it when I get a chance.


It crashes for me as well, if I turn sound devices to false in dosbox.conf file - maybe that's the reason in your case.
Back to top
View user's profile Send private message
Exenteth



Joined: 08 Jun 2007
Posts: 7

PostPosted: Fri Jun 08, 2007 12:45 pm    Post subject: re: Reply with quote

Hey, new here :)

I've been trying to get a game (Gods of Thunder) working in DOSbox.. and it does work - the problem is only in the new keymapping.. I'm using this .bat:
@ECHO OFF
INPUTMAP up up
INPUTMAP right right
INPUTMAP down down
INPUTMAP left left
INPUTMAP triangle space
INPUTMAP square lshift
INPUTMAP cross lctrl
INPUTMAP circle lalt
INPUTMAP start enter
INPUTMAP select esc
INPUTMAP exec got

got since the .exe to run the game is GOT.EXE - but I keep getting an invalid command error and the game doesn't run..
I have the .bat located directly in the C:\ declared by dn at bootup, and the game itself I've tried putting it many places.. directly into the C:\ also, in its own C:\GOT folder.. everywhere really ><
What'd I do wrong?
Thanks
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Jun 08, 2007 12:56 pm    Post subject: Reply with quote

the bat file must be in the same dir as the game for it to work
Back to top
View user's profile Send private message AIM Address
Exenteth



Joined: 08 Jun 2007
Posts: 7

PostPosted: Fri Jun 08, 2007 1:20 pm    Post subject: re: Reply with quote

Tried that too.. instead I get "Error: Unknown command line switch "GOT""
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Jun 08, 2007 4:36 pm    Post subject: Reply with quote

I'll have a shot tonight.
Back to top
View user's profile Send private message AIM Address
Be3f



Joined: 15 Mar 2007
Posts: 59

PostPosted: Fri Jun 08, 2007 4:50 pm    Post subject: Reply with quote

psp_sfdm wrote:
Be3f wrote:
But how about porting the latest >>DosBox v0.70, instead of using old 0.60 as a base? v0,70 (for PC) has >>much higher capability, then 0.60!


See crazyc's response under Bluddy's on page 6 of this thread.

crazyc replied about the perfomance, but pefromance is not everything - I asked about capability, whith is much higher in v0.70, then in v.60! For example, one simple (but very fun!) 2D game Jump'n'Bump deosn't run on 0.60, but it works perfect on 0.70 (PC build). Here's a screenshot, how Jump'n'Bump runs under DosBox 0.70 (Win32 build) on my PC:

http://img157.imageshack.us/img157/236/jumppo7.jpg

It would be great, if this game (and many other...) will run under on of the future builds of the PSP-Dosbox!

But, anyway crasyc - thanks for the emulator! It is already good and runs lots of my favorite games at the reasonable framerate (for example - Dangerous Dave).
_________________
00000110 00000110 00000110
Back to top
View user's profile Send private message Send e-mail
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Jun 08, 2007 5:40 pm    Post subject: Re: re: Reply with quote

Exenteth wrote:
Tried that too.. instead I get "Error: Unknown command line switch "GOT""


I got the same error, there is a way around it .

Replace GOT with _G1 that works (for now)

Crazyc might have to look at why GOT.EXE doesnt work

God Of Thunder runs reasonably well, Squarez Deluxe does too. jetpack trys to detect a joystick, but i'll work around that All these games are freeware too :)

Be3f : Dangerous Dave is one of my favs too :)

Commander Keen 4 is still a bit slow but playable :)

Im thinking of starting a bat file list, only for those games that work well but the keys must be set in a way that is easy for the user to remember such as X - main attack button or jump w/e
Back to top
View user's profile Send private message AIM Address
Exenteth



Joined: 08 Jun 2007
Posts: 7

PostPosted: Fri Jun 08, 2007 8:25 pm    Post subject: Reply with quote

Nice. THanks a bunch :D
Having a weird problem with GoT though.. the status bar at the bottom (life, magic, money, ect) is.. just not there O.o
Instead, the bottom of hte play screen is repeated in that area...
Back to top
View user's profile Send private message
OckHAM



Joined: 09 Jun 2007
Posts: 3

PostPosted: Sat Jun 09, 2007 6:31 pm    Post subject: Reply with quote

Hi Crazyc, wonderful work: really thank you. My problem is that everything works very fine BUT the mounted directory is read-only! The dos navigator program shows 0 kbs available on unit C so I'm not able to save/resume anything. Any hint on why dosbox works this why? Thanks in advance.
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sun Jun 10, 2007 12:32 am    Post subject: Reply with quote

Exenteth wrote:
Nice. THanks a bunch :D
Having a weird problem with GoT though.. the status bar at the bottom (life, magic, money, ect) is.. just not there O.o
Instead, the bottom of hte play screen is repeated in that area...

I have a game which does this too, I'll look at it when I get a chance.
Quote:
Hi Crazyc, wonderful work: really thank you. My problem is that everything works very fine BUT the mounted directory is read-only! The dos navigator program shows 0 kbs available on unit C so I'm not able to save/resume anything. Any hint on why dosbox works this why? Thanks in advance.

You can't save in anything? I don't have that problem.
Back to top
View user's profile Send private message
OckHAM



Joined: 09 Jun 2007
Posts: 3

PostPosted: Sun Jun 10, 2007 12:50 am    Post subject: Reply with quote

I can't save because the mounted c: (a directory dosbox inside ms0 in PSP directory) is detected as read-only! When I use in my autostart strings in the conf file the dos explorer it shows me 0.000.000 kb space available. So this is before the launch of any game (and is the same problem I have with every game). I've downloaded and used the precompiled eboot.php inside this thread and i'm using 3.40 OE.



Where the above image shows 1.023.932 free bytes I get a 0.000.000.

Any suggestions?
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 ... 6, 7, 8 ... 22, 23, 24  Next
Page 7 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