Prince of Persia Collection Limited Edition [536 MB]

Discuss PoP1 for DOS here.

Moderator: English Moderator Team

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » May 4th, 2016, 1:22 am

David wrote: There is also a "Settings" button in the window that pops up, which takes you to the place where you can turn it off.
Thank you David. I got it and now could make Prince fight without system's alert.
salvadorc17 wrote:The normal prince of persia in Dos should work in Windows 10?, havent tested yet...
Yes DosBox v0.74 and DOS Prince of Persia worked fine in Windows 10 64 bit ( I don't have 32 bit Windows 10).
http://popuw.com/download.html has links you can try.

Andrew
Wise Scribe
Wise Scribe
Posts: 313
Joined: July 16th, 2009, 4:39 pm

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by Andrew » May 4th, 2016, 6:13 pm

salvadorc17 wrote:The normal prince of persia in Dos should work in Windows 10?, havent tested yet...
I use DOSBox on both 32 and 64-bit Win10 and it works fine. Hardly surprising either.

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » August 24th, 2016, 8:12 am

Hello all.
I tried to play the game running in DosBox 0.74 with my JOYSTICK, DirectInput one in Windows 10 64bit.
Oh I got this in POP1 just after Dosbos starts;
Image

Something wrong with its calibration, I think, and Ctrl+J did not solve this.

Image

I need your help. Before I start POP1, did I need some joystick calibration ?

I won't use MAPPER in DosBox cause POP1 can handle a joystick like POP2. In POP2, the joystick had no problem to move Prince without DosBox mapper's help. Actually MAPPER is like Xpadder converting joystick signal to keyboard one. I would like to play POP not in keyboard mode.
Last edited by RaymanForever2007 on August 25th, 2016, 1:12 pm, edited 1 time in total.

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 3139
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by Norbert » August 24th, 2016, 10:12 am

RaymanForever2007 wrote:I would like to play POP not in keyboard mode.
Just for your information, SDLPoP (download link) should detect and work with your joystick if you have it plugged in.
Maybe MININIM (download link) does too.
These are free software implementations of PoP1 for DOS.

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » August 25th, 2016, 1:24 pm

Norbert wrote:
RaymanForever2007 wrote:I would like to play POP not in keyboard mode.
Just for your information, SDLPoP (download link) should detect and work with your joystick if you have it plugged in.
Maybe MININIM (download link) does too.
These are free software implementations of PoP1 for DOS.
Thank you for the information, Nobert.
I respect this , but unfortunately I am trying to play Pop1 in Pop LE with my Joystick and looking for the solution, not searching another game program.
I am still not sure about the reason why my DirectInput gamepad does this error PoP1, the joystick works in another game properly.
So there might be patch to make my gamepad work in Pop1 I wonder.
Is there any guy having the measure to solve this problem in PoP 1 DOS or having the gamepad just working in PoP1 DOS ? I need the information.

User avatar
SuavePrince
Calif
Calif
Posts: 646
Joined: January 26th, 2015, 6:21 pm

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by SuavePrince » August 26th, 2016, 4:56 am

RaymanForever2007 wrote: I respect this , but unfortunately I am trying to play Pop1 in Pop LE with my Joystick and looking for the solution, not searching another game program.
I am still not sure about the reason why my DirectInput gamepad does this error PoP1, the joystick works in another game properly.
So there might be patch to make my gamepad work in Pop1 I wonder.
Is there any guy having the measure to solve this problem in PoP 1 DOS or having the gamepad just working in PoP1 DOS ? I need the information.
i remeber try use gamepad wireless,and dont work,i dont know why,so need use my old gamepad with plug :D

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » August 26th, 2016, 3:23 pm

Thank you SuavePrince and Norbert.
I got a solution from the site;
http://www.vogons.org/viewtopic.php?t=33618
The key is int29 that shall be run in DoxBox before POP1 is launched.
All I need is int29.com placed in POP1 folder and DosBox.conf shall be;

***************************************
[sdl]
fullscreen=false
fulldouble=false
fullfixed=false
fullresolution=desktop
output=ddraw
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt

[dosbox]
language=
machine=vga
captures=capture
memsize=16

[render]
frameskip=0
aspect=false
scaler=hq3x

[cpu]
core=dynamic
cycles=auto limit 60000
cycleup=0
cycledown=0

[mixer]
nosound=false
rate=44100
blocksize=2048
prebuffer=10

[midi]
mpu401=true
intelligent=true
device=default
config=

[sblaster]
type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=44100

[gus]
gus=true
rate=22050
base=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
pcspeaker=true
pcrate=44100
tandyrate=22050
disney=true

[bios]


[dos]
xms=true
ems=true

[modem]
modem=false
comport=2
listenport=23

[directserial]
directserial=false
comport=1
realport=COM1
defaultbps=1200
parity=N
bytesize=8
stopbit=1

[ipx]
ipx=false

[joystick]
joysticktype=4axis
timed=true
autofire=false
swap34=false
buttonwrap=true


[autoexec]

cls

mount B "C:\Program Files (x86)\Red Orb Entertainment\Prince of Persia CLE\Prince1"
B:
int29.com
#int29.com & int29.asm need to be put into the directory seperatly as a download

P1.EXE improved
exit
***********************************************************
My original dosbox.conf for POP1 is here;
viewtopic.php?f=68&t=3096&start=15#p18594

Red letters are changed lines from the original.

All control with my old gamepad DirectInput one works fine using the method above.
My problem in POP1 with joystick is completely solved.

David
The Prince of Persia
The Prince of Persia
Posts: 1496
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by David » August 28th, 2016, 12:27 pm

This is a bug in PoP v1.4, the version that is in Limited Edition.
Another way to get rid of the messages: start the game with prince > nul.
From here: viewtopic.php?p=15493#p15493
http://www.vogons.org/viewtopic.php?t=33618 wrote:The game is constantly writing the joystick state info to STDOUT when a joystick is detected, but it also installs an INT 10h handler to specifically bypass function 0Eh (teletype output) so that nothing is actually written to the screen. It's odd, not to mention inefficient, for the game to go to the trouble of writing the data and then prevent the output elsewhere.
Well, *that* is odd... :?

So it does not happen on real DOS?
But this post suggests it does...

But yes, the INT 10h handler is there in the disassembly. Not just in v1.4 but also in v1.0 and v1.3:

Code: Select all

seg009:0103                      new_int10_video proc far
seg009:0103 1E                                   push    ds
seg009:0104 50                                   push    ax
seg009:0105 B8 CE 1A                             mov     ax, seg data
seg009:0108 8E D8                                mov     ds, ax
seg009:010A                                      assume ds:data
seg009:010A 58                                   pop     ax
seg009:010B 80 FC 0E                             cmp     ah, 0Eh         ; write text
seg009:010E 74 05                                jz      loc_C8A5
seg009:0110 9C                                   pushf
seg009:0111 FF 1E FA 28                          call    old_int10_video
seg009:0115                      loc_C8A5:
seg009:0115 1F                                   pop     ds
seg009:0116                                      assume ds:nothing
seg009:0116 CF                                   iret
seg009:0116                      new_int10_video endp

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » August 29th, 2016, 12:17 pm

Oh, David, you already posted the issue of Joystick axis all over the screen !
viewtopic.php?p=14273#p14273

I was so late to notice this problem, used to using keyboard only.

I don't understand "prince > nul".
Could you explain this some more lucid way ?

I tried USB-joystick in MS-DOS mode of Windoes98 SE.
I installed joystick driver in W98SE, then restart W98 as MS-DOS mode.
Launching prince.exe from MS-DOS, the program DID NOT RECOGNIZE THE USB-JOYSTICK hooked up to USB-Port.
Maybe joystick driver for MS-DOS is another thing, thinking that is simple joystick hooked up to 9-pin connector ?
So I could not test how the joystick works for POP1 in real DOS mode.

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » September 1st, 2016, 1:50 pm

Ah, I got the issue starting price > nul.
It is simple to define the line in dosbox.conf.
*****************************************
[sdl]
fullscreen=false
fulldouble=false
fullfixed=false
fullresolution=desktop
output=ddraw
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt

[dosbox]
language=
machine=vga
captures=capture
memsize=16

[render]
frameskip=0
aspect=false
scaler=hq3x

[cpu]
core=dynamic
cycles=auto limit 60000
cycleup=0
cycledown=0

[mixer]
nosound=false
rate=44100
blocksize=2048
prebuffer=10

[midi]
mpu401=true
intelligent=true
device=default
config=

[sblaster]
type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=44100

[gus]
gus=true
rate=22050
base=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
pcspeaker=true
pcrate=44100
tandyrate=22050
disney=true

[bios]


[dos]
xms=true
ems=true

[modem]
modem=false
comport=2
listenport=23

[directserial]
directserial=false
comport=1
realport=COM1
defaultbps=1200
parity=N
bytesize=8
stopbit=1

[ipx]
ipx=false

[autoexec]

cls

mount B "C:\Program Files (x86)\Red Orb Entertainment\Prince of Persia CLE\Prince1"
B:
P1.EXE >nul
exit
*******************************************************
I changed line from my original dosbox.conf posted;
viewtopic.php?f=68&t=3096&start=15#p18594

Oh David, thank you for your suggestion. This is more simpler than introducing int29.com. I like this method.

David
The Prince of Persia
The Prince of Persia
Posts: 1496
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by David » October 9th, 2016, 10:23 am

RaymanForever2007 wrote: I tried USB-joystick in MS-DOS mode of Windoes98 SE.
I installed joystick driver in W98SE, then restart W98 as MS-DOS mode.
Launching prince.exe from MS-DOS, the program DID NOT RECOGNIZE THE USB-JOYSTICK hooked up to USB-Port.
Maybe joystick driver for MS-DOS is another thing, thinking that is simple joystick hooked up to 9-pin connector ?
So I could not test how the joystick works for POP1 in real DOS mode.
PoP is accessing the joystick / game port directly through port 201h.
This means that drivers installed under Windows have no effect in real DOS mode.
(Is there such a thing as "joystick driver for MS-DOS"?)
And it also means that USB joysticks won't work. Unless maybe...

I've seen some BIOSes that have "USB legacy" support, which makes some USB devices usable under DOS.
But it seems this option is only for USB keyboards and mice.
More info: http://superuser.com/questions/303365/w ... -bios-mean
Hm, it also applies to "usb flash drive"s?

Okay, so your best bet is to look if your BIOS has a "USB legacy" setting, turn it on if it's off, and see if it changes anything.

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » October 10th, 2016, 11:38 am

David wrote: Okay, so your best bet is to look if your BIOS has a "USB legacy" setting, turn it on if it's off, and see if it changes anything.
Thank you for your reply, David.
I checked my PC's BIOS that is IBM BIOS of Thinkpad A20m running W98SE, the old one.
Different from Phoenix Bios, IBM BIOS does not have "USB Legacy support" option even does not have "Advanced" TAB.
Anyway I got noticed that this PC running W98SE may need DoxBox to run PoP for enabling USB controller.
Then I tried to run Pop1 through DosBox v0.74, I got the error;
PRINCE Page violation module : SDL.DLL、Address : 0187:6813cb8e
Registers:
EAX=00000000 CS=0187 EIP=6813cb8e EFLGS=00010246
EBX=00000000 SS=018f ESP=0279b158 EBP=00000000
ECX=028ce5c0 DS=018f ESI=00000003 FS=1aff
EDX=00000020 ES=018f EDI=00000000 GS=0000
Bytes at CS:EIP:
0f b6 43 04 5b 39 d0 0f 95 c2 0f b6 c2 48 c3 8d
Stack dump:
00000000 6812c960 028b0c94 0279b1a0 00000000 00000000 00000000 00000000 0279b1a0 6812ca08 0279b1a0 00000000 00ff0000 0000ff00 000000ff ff000000
Does this mean I should have use more older version of DosBox in Windows 98SE cause SDL.DLL is the part of DosBox ?

David
The Prince of Persia
The Prince of Persia
Posts: 1496
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by David » October 15th, 2016, 5:16 pm

RaymanForever2007 wrote:Does this mean I should have use more older version of DosBox in Windows 98SE cause SDL.DLL is the part of DosBox ?
You could try that, but remember that DOSBox is not "real DOS mode".

As for the "older version": I have DOSBox 0.60 in a folder that was copied over from a Windows 98 machine, and I remember it worked there... (back in 2005/2006)

Andrew
Wise Scribe
Wise Scribe
Posts: 313
Joined: July 16th, 2009, 4:39 pm

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by Andrew » October 16th, 2016, 10:33 pm

David wrote:
RaymanForever2007 wrote: I tried USB-joystick in MS-DOS mode of Windoes98 SE.
I installed joystick driver in W98SE, then restart W98 as MS-DOS mode.
Launching prince.exe from MS-DOS, the program DID NOT RECOGNIZE THE USB-JOYSTICK hooked up to USB-Port.
Maybe joystick driver for MS-DOS is another thing, thinking that is simple joystick hooked up to 9-pin connector ?
So I could not test how the joystick works for POP1 in real DOS mode.
PoP is accessing the joystick / game port directly through port 201h.
This means that drivers installed under Windows have no effect in real DOS mode.
(Is there such a thing as "joystick driver for MS-DOS"?)
And it also means that USB joysticks won't work. Unless maybe...

I've seen some BIOSes that have "USB legacy" support, which makes some USB devices usable under DOS.
But it seems this option is only for USB keyboards and mice.
More info: http://superuser.com/questions/303365/w ... -bios-mean
Hm, it also applies to "usb flash drive"s?

Okay, so your best bet is to look if your BIOS has a "USB legacy" setting, turn it on if it's off, and see if it changes anything.
The best thing to do would be to obtain an old joystick or gamepad that connects via the serial or parallel or PS/2 ports. Even easier in terms of availability might be joysticks that connected via the game port, which was more or less standard on every sound card after Creative popularized it.

DOS of course pre-dates USB (even Win95 didn't support USB at the beginning, and plug-n-play was a nightmare for quite some time). Still there are a few real-mode DOS USB drivers, but most of them are for mass storage devices, KBs, mice and printers. (Your post actually brought up fond and not-so-fond memories... :) Before I switched to a combination of Linux and WinPE I was using my USB KB, mouse, external flash drives and hard drives up to 500GB - both FAT32 and NTFS ones with LFNs - all with my DOS rescue disks and CDs thanks to a combination of USB drivers including Cypress Semiconductor's DUSE and those by Panasonic and Motto Hairu.)

As you can probably understand, there simply aren't that many people around who're both knowledgeable about USB specs/internals and still interested in supporting a 'dead' OS. In a commercial setting a few years ago I had good results with Georg Potthast's drivers, but if you want to try a free alternative I recommend Bret Johnson's drivers which do include one for USB joysticks. Only if that doesn't work would I advise looking into DUSE and others, but be ready for a lot of teeth-gnashing and hair-pulling, especially if you're not very patient by nature! :P You might also have better luck using FreeDOS 1.1 instead of MS-DOS 6.22 (or 7.1 from Win98SE), especially if your system is a relatively modern one with lots of RAM (the former's HIMEM and EMM386 substitutes are naturally much better at dealing with newer hardware). However if you have a purpose-built old school gaming PC with legacy hardware then it's probably best to stick to MS-DOS for maximum compatibility.

RaymanForever2007
Sheikh
Sheikh
Posts: 45
Joined: March 26th, 2016, 8:32 am

Re: Prince of Persia Collection Limited Edition [536 MB]

Post by RaymanForever2007 » October 17th, 2016, 2:17 am

David wrote: As for the "older version": I have DOSBox 0.60 in a folder that was copied over from a Windows 98 machine, and I remember it worked there... (back in 2005/2006)
Thank you for this, David.
I downloaded v0.60 Dosbox and ran PoP through DosBox in W98SE, got GOOOOOOD RESULT !!
Oh this loved old DoxBox !
I noticed some;
1.This case needs int29.com line in dosbox.conf to eliminate joystick axis shown all over the screen.
In case of using >nul, bottom of the game screen shows joystick button number and position instead of Prince life or time left.

2. Sound driver shall be other than "SoundBlaster" for this old PC IBM Thinkpad A20m. But it's OK.
And that lines in Dosbox.conf shown below shall be deleted for IBM Thinkpad A20m;
[sblaster]
type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=44100

SoundBlater is not for ThinkPad A20m, showing some digital sound card missing message when game starts.

Anyway Dosbox v0.60 solved my problem playing PoP in Windows98SE using USB joystick.
Thank you David for your help.
Last edited by RaymanForever2007 on October 17th, 2016, 11:32 am, edited 5 times in total.

Post Reply