[ SOLVED ] CPPPSX.EXE Stack Fault in Windows XP

Start a work log and update it occasionally with your projects progress
Post Reply
User avatar
inc^lightforce
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 248
Joined: Mar 07, 2013
I am a: Programmer Windows+PS1, GFX Artist
PlayStation Model: Black
Location: Germany

[ SOLVED ] CPPPSX.EXE Stack Fault in Windows XP

Post by inc^lightforce » March 9th, 2013, 2:59 am

If it's running no longer a PS1 or other is needed anymore.

Does someone have an Idea how to get this exe on running in Windows XP?

i always get this error when i try to compile a PAL2NTSC Selector in Windows XP without any PS1 Hardware or Equal.

see here:

Code: Select all

ccpsx.exe -O3 -Xo$80100000 main.c depack.obj left.o right.o intro.obj font.o hitmod.obj -omain.cpe
Error : could not execute cpppsx.exe

Getting ERROR:
Stack Fault at eip=21fe
eax=00000301 ebx=000063b4 ecx=00000000 edx=0000ffff esi=00000397 edi=0000acb4
ebp=0000ffbe esp=0005eb88 cs=19f ds=17f es=17f fs=0 gs=0 ss=1b7 cr2=0000efd8
Call frame traceback EIPs:
0x000021fe
0xffd00001


Any one an Idea?

This lil programm is the last problem i encounter before i can code a Programm for Intro coding on Windows XP or 32 BIT system without hardware like:
~ Play Station 1
~ TV
~ CommCard
~ Cable
Last edited by inc^lightforce on March 11th, 2013, 1:03 am, edited 3 times in total.

User avatar
t0rxe
C Programming Expert
C Programming Expert
Posts: 139
Joined: Dec 19, 2012
Motto: /\OX[]
PlayStation Model: SCPH-5502
Location: Australia

Post by t0rxe » March 9th, 2013, 9:46 am

Check your makefile! Your address seems wrong, and should be 0x80010000

Code: Select all

all:
	ccpsx -O3 -Xo$80010000 main.c -omain.cpe,main.sym,mem.map
	cpe2x /ce main.cpe
"Nostalgia isn't a big enough word to describe the PlayStation from my eyes"

User avatar
inc^lightforce
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 248
Joined: Mar 07, 2013
I am a: Programmer Windows+PS1, GFX Artist
PlayStation Model: Black
Location: Germany

Post by inc^lightforce » March 10th, 2013, 4:00 am

First of all. It's running perfect on my PSX-DEV PC and
~ Windows 98
~ ISA Communication Card
~ Cable to PS1
~ Action Replay
~ PS1

i execute the Batch and it works perfect. At the end i got my compiled Pal2NTSC Patch incl. the GFX, Sound and all the other goodies.
_____________________________

I had in mind to get it runing on WIN XP, So i copied the whole DEV DIR to the same Directory on my Win XP PC.

And now it wont work anymore :(

btw. both addresses working fine on windows 98

i don't think the address is the problem. I changed it to $80010000. Same Error.

when i run, (double cklick) the "cpppsx.exe" without compiling, only DOUBLE CLICK! in windows XP the same error occurs. Not so in windows 98.

I think i need a 32 bit version of CPPPSX.EXE

MakeFile:
Image

BATCH FILE
Image

BATCH FILE EXECUTING
Image

Does PSYQ work on everyone's XP 32 Bit System?

Can someone please double click CPPPSX.EXE on his Win XP System and see whats happen?

I always get this ERROR:
Stack Fault at eip=21fe
eax=00000301 ebx=000063b4 ecx=00000000 edx=0000ffff esi=00000397 edi=0000acb4
ebp=0000ffbe esp=0005eb88 cs=19f ds=17f es=17f fs=0 gs=0 ss=1b7 cr2=0000efd8
Call frame traceback EIPs:
0x000021fe
0xffd00001

Looking forward to solve this Error for Further Win-XP Usage.

Cheers

User avatar
t0rxe
C Programming Expert
C Programming Expert
Posts: 139
Joined: Dec 19, 2012
Motto: /\OX[]
PlayStation Model: SCPH-5502
Location: Australia

Post by t0rxe » March 10th, 2013, 11:16 am

It's CCPSX.exe (found in: 'C:\psyq\bin'). You're calling the wrong one (unless you changed it or something).
Also add the PSPATHS list to your variables: http://psxdev.net/forum/viewtopic.php?f=49&t=206
"Nostalgia isn't a big enough word to describe the PlayStation from my eyes"

User avatar
inc^lightforce
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 248
Joined: Mar 07, 2013
I am a: Programmer Windows+PS1, GFX Artist
PlayStation Model: Black
Location: Germany

Post by inc^lightforce » March 10th, 2013, 8:47 pm

thank you for your reply

i`ll make a test, got 3 Versions of CCPSX.EXE

User avatar
inc^lightforce
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 248
Joined: Mar 07, 2013
I am a: Programmer Windows+PS1, GFX Artist
PlayStation Model: Black
Location: Germany

Post by inc^lightforce » March 11th, 2013, 12:42 am

Finally i have rewritten all BATCH FILEs and made a new DEV ROOT.

All is now working perfect in WINDOWS XP 32 BIT/ may also work with WINDOWS 7 32 BIT. All Tools, Compilers, PS 1 GFX Programms like TIM TOOL, SINLAB for Creating cool Sinus Scroll TXT, Fasttracker for making Music and Sounds/ Chiptunes ect. (for Fasttracker usage i recommend to use DOSBOX!) :dance

no longer need:
~ Windows 98 PC
~ any Kind of relevant PS1 Hardware in the PC
~ Coders Comm-Card
~ a Connection to the Play Station 1
~ the Play Station 1 itself
~ a TV for testing

only needed for now
~ PSYQ SDK
~ Knowledge
~ a Brain
~ Creativity
~ Compilers and Co.
~ Tools
~ and the PC Emulator called EPSXE (i use the latest v 1.8)

Thats all. Later it can be burnt on a Disc and played in the Console Play Station 1

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests