Dosbox 0.70 - Coming Soon I Think....


Thank you for that code, it looks helpfull enough to get my debuggin output from the SDL_Joystick checker in my code to see whats going on down under.

No one pointed me in any direction in the IRC last night :(

According to the wiki they where offline, so I compiled the oopo toolchain again (which took all night lol)
And the libs this morning.

And then dosbox this afternoon lol

I'll prob try this tomorrow, seen 'nuff of mousepad and a make command in a terminal.

bOing
 
Well i'm using my gp2x via telnet for the first time :)

and can see the problem right away.

"Using joystick PEP Joy with 0 axes and 19 buttons"

Dosbox now has joystick support.
so it's overriding they joystick to keyboard hack
going to have to see if I can override this again.

bOing



Might be less work than I think but the mapper.txt files will have to change lol

Working on Mapper v2 now.

bOing
 
Make sure its encoded for linux? :lol:

No I only had the problem with the config... On the edge of my seat here...

err I'm too slow, wow progress as I type!
 
lol yeah,

it maybe the dirty keyboard hack in my dosbox code causing these problems now.

it does detect 6 buttons so far on the gp2x but it's not mapping them to a keyboard event.


Working on it...

bOing
 
I deleted the hack's still no cigar.

Checking my output you can see the joystick getting init'ed detected etc...

Code:
SDL_GP2X: CreateDevice
SDL_GP2X: VideoInit
SDL_GP2X: Physical screen = 320x240 (ilace = 0)
SDL_GP2X: Looking for a mouse
SDL_GP2X: No mice found
SDL_GP2X: Creating cursor 16x16
SDL_GP2X: Allocated WMcursor @ 0x1c81b40 (32)
SDL_GP2X: SurfaceManager allocating 256 bytes
SDL_SYS_JoystickInit
CONFIG:Loading primary settings from config file /mnt/sd/dosbox/joytest/dosbox.conf
SDL_GP2X: ListModes
SDL_GP2X: Setting video mode 320x240 16 bpp, flags=10000000
SDL_GP2X: FreeHWSurfaces
SDL_GP2X: InitHWSurfaces 0x40025800, 5085184
SDL_GP2X: Screen bucket 0x1c810c8
SDL_GP2X: First free bucket 0x1c88430 (size = 5085184)
SDL_GP2X: Creating cursor 16x16
SDL_GP2X: Allocated WMcursor @ 0x1c88360 (32)
SDL_GP2X: SurfaceManager allocating 256 bytes
SDL_GP2X: SurfaceManager adding new free bucket of 5084928 bytes @ 0x1c88378
SDL_GP2X: SurfaceManager allocated 256 bytes at 0x40025800
MIDI:Opened device:none
Using joystick PEP Joy with 0 axes and 19 buttons
SDL_GP2X: ListModes
SDL_GP2X: Setting video mode 640x400 16 bpp, flags=1
SDL_GP2X: FreeHWSurfaces
SDL_GP2X: Freeing bucket 0x1c88430 (size 256)
SDL_GP2X: Freeing bucket 0x1c88378 (size 5084928)
SDL_GP2X: InitHWSurfaces 0x4007d000, 4726784
SDL_GP2X: Screen bucket 0x1c810c8
SDL_GP2X: First free bucket 0x1c88430 (size = 4726784)
SDL_GP2X: Freeing cursor 0x1c88360
SDL_GP2X: SurfaceManager freeing 4726784 bytes @ 0x4007d000 from bucket 0x1c88430
SDL_GP2X: Creating cursor 16x16
SDL_GP2X: Allocated WMcursor @ 0x1caaa40 (32)
SDL_GP2X: SurfaceManager allocating 256 bytes
SDL_GP2X: SurfaceManager adding new free bucket of 4726528 bytes @ 0x1caaa90
SDL_GP2X: SurfaceManager allocated 256 bytes at 0x4007d000
SHELL:Redirect output to nul

I've asked for help off the dosbox forum.

I think it's a bad mapping now ;)

Will get there sometime soon me guess, 'nuff work for tonight - i.e. 6 hours lol
 
Quick question to anyone...

I can see SDL_SYS_JoystickInit in my output

but I think i should call SDL_JoystickOpen( 0 ); somewhere in my code.

If I don't call that in the correct place I won't get Joystickinput right?

bOing
 
Just as a matter of interest, is DOSBOX for the GP2X going to be fast enough to run games like the original Civilization? It's requirements are low, I used to play it on a 12Mhz 286 with 1MB.
 
Short answer "no" with an "if", long answer "yes", with a "but".

No, if you think its going to be playable soon.

Yes, but only if someone puts some very good work into it.
 
I'll tell you as soon as I get the mapper functions working.

Once the inputs working then I'll move on to the cpu core work, it only has a dync-rec x86 core at the moment, anyone want to write another ? ;)

bOing
 
So if a massive 80386 game like Doom actually displays something on gp2x....Could that mean that 80286 games like old Sierra adventures can reach near-playable status? (with the help of mmuhack and ram timings, of course).
Man, this project gets me even more excited than PSX stuff!! (I would be more than satisfied with only the 80286 age :) )

Good luck, BOingball !!
Looking forward to new reports :)
 
I'm working as best I can as a lowely .NET Visual Basic at best programmer lol

I can work out C and stuff so it's not that bad.

I blundle through all the stuff.

And yeah Doom is displaying and running with sound, albiet too slow to be even playable.

Now getting the input working is the number 1 think to do, and I'm working on that.

I can't promise to have a release at all if I can't get it working but I would release the code to someone who could help out but it's looking better and better now I can telnet to my gp2x to dev it.

Hope for the best, and I'll keep you's all informed as always to the final release (if theres one)

Regards
bOing

I'll base my release around Pinball Fantisys then.

I love that game :)

It's system req's are

386 DX-33 MHz or better,
560 Kb free conventional memory required,
MS-DOS 3.3 or later,
Hard drive required with 150 Kb free disc space,
Single speed CD-ROM drive or faster,
SVGA 256 color graphic card and monitor,
Microsoft Mouse or 100% compatible,
Internal speaker and all popular soundcards supported.

Pulling off a 386DX-33Mhz might be tuff but we will see.

Regards
bOing
 
bOingball posted on Mar 20 2007 at 07:16 PM said:
I'm working as best I can as a lowely .NET Visual Basic at best programmer lol

I can work out C and stuff so it's not that bad.

I blundle through all the stuff.

And yeah Doom is displaying and running with sound, albiet too slow to be even playable.

Now getting the input working is the number 1 think to do, and I'm working on that.

I can't promise to have a release at all if I can't get it working but I would release the code to someone who could help out but it's looking better and better now I can telnet to my gp2x to dev it.

Hope for the best, and I'll keep you's all informed as always to the final release (if theres one)

Regards
bOing

I'll base my release around Pinball Fantisys then.

I love that game :)

It's system req's are

386 DX-33 MHz or better,
560 Kb free conventional memory required,
MS-DOS 3.3 or later,
Hard drive required with 150 Kb free disc space,
Single speed CD-ROM drive or faster,
SVGA 256 color graphic card and monitor,
Microsoft Mouse or 100% compatible,
Internal speaker and all popular soundcards supported.

Pulling off a 386DX-33Mhz might be tuff but we will see.

Regards
bOing
haha you love it too, cool :)

And yeah I pm'ed you, I was asking a few things about crosscompiling and if the new dosbox config files are still the same. But that can wait...
 
Last edited by a moderator:
the dosbox config files are the same, but new options can be added for the joystick support.

I'm still working on the joystick support now, as since they added it we can't input anything.

Glad it pics up the 19 buttons of the gp2x though, just shame I can't get anything to type yet.

more hacking and patching to come I guess... I'm off work tomorrow so going to take an afternoon looking at it.

crosscompiling is new to me, I've only ever tried doing dosbox and lucky me the first one worked lol

this one works as well, so thats a bonus.

bOing
 
aapje89 posted on Mar 20 2007 at 04:38 PM said:
running pinballfantasies at a reasonable speed would be awesome :)

Hm, I think the current Dosbox-Version for GP2X really should be optimized or rewritten. I Would like to Play (besides Pinball Dreams & co. )Commander Keen 4 and 4D Sports Driving at Full Speed on GP2X at 200MHz. :)
The coolest thing would be "Stunt Island" on GP2X! :lol: -Yes I know this is utopic but I can dream of it. :p
 
Last edited by a moderator:
Yeha sorry fusion_power

I know it should be more optimised, but it's pritty hard to do when you ain't got a clue.

Best thing is though if zodttd creates his core (dynarec for arm) it would be easy to place into this.

I'm working on getting the most power out of 0.70 that I can.

I'm testing Tyrian at the moment, and I can say it loads and running about 1/3 of speed.

But I'm using my unoptimsed config, I'm making this the benchmark game at the moment.

Pinball fantasys is having problems loading due to the lack of screen memory but I'll work on that afterwards

I will only release this version once I have some quality shareware demos bundled in with it.

(and also a lite pack for people just wanting the raw dosbox :) )

easiest way I've found to do this, is using dosbox 0.70 on my pc, setting the games up and pulling them down to the gp2x and then rerunning.

Regards
bOing
 
now running at 2/3's speed / hoping for more speed.

Hold on to ya hat, it looks like we might have 386 emulation in real time :)

The CPU emulation is at least double speed from what I can tell from 0.65.

I'm testing it to the max as I've never tried a cycle command in a dosbox config as high as 3000 on a gp2x before.

Ok we may lose sound at that speed, but for some 386 games I'll take that as a win lol

bOing

UPDATE :

Ok turning off sound gives me near nuff 386/33Mhz full speed for this game.

Testing and optimising, any other games anyone wants in this release.

i can only put the shareware versions in unless theres a free version from said company. :)
 
Hey this is really good news.

I know the original Civilization is available on other platforms like Atari ST and Amiga, but I love the original and humble PC version the best.

From memory, there was a user by the name of Hilary Cheng (sorry if not spelled correctly) who was interested in developing an x86 Dyna Rec for DosBox. I'd love to see this happen, so many classic PC games.
Masters of Magic, Colonization, Reach for the Stars, Fantasy General.
 
got some good news and bad.

Dosbox 0.70 release is well on it's way.

Bad news, none of the Pinball games will work :(

it's the way all the menu systems work to select the table which kills dosbox to no output... :(

I'm trying to fix it but I don't think i can, sorry :(

Any other games to include in this release will be noted as long as it's shareware / demo / released to public.

Regards
bOing
 
Back
Top