help compiling serial sio tuto1
help compiling serial sio tuto1
Hello,
i am new to this forum. i wanted to ask help for a little problem i had. i am trying to compile the sample at psyq sio tuto1 folder. as i know, there's exe file already in the folder. i renamed that exe, and compile another exe from scratch. the compilation is success, with some hint from this forum. but the problem is the exe file is a bit different with the exe file that already there in the first place.
now i am testing the exe file in a psx based platform, the original exe (the exe that already in the tuto1 folder) runs perfectly. but, the one i compiled from scratch, is not working. have been couple days searching for clue, but no luck.
btw, i attach here the exe file i compiled.
anyone can help?
thank you
i am new to this forum. i wanted to ask help for a little problem i had. i am trying to compile the sample at psyq sio tuto1 folder. as i know, there's exe file already in the folder. i renamed that exe, and compile another exe from scratch. the compilation is success, with some hint from this forum. but the problem is the exe file is a bit different with the exe file that already there in the first place.
now i am testing the exe file in a psx based platform, the original exe (the exe that already in the tuto1 folder) runs perfectly. but, the one i compiled from scratch, is not working. have been couple days searching for clue, but no luck.
btw, i attach here the exe file i compiled.
anyone can help?
thank you
You do not have the required permissions to view the files attached to this post.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Please upload all the code you used and I'll compile it to check what's happening.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Here they are.
Thanks
Thanks
You do not have the required permissions to view the files attached to this post.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
TUTO1.rar works fine...
Make sure your cable is wired correctly and you have set the right baud rate on your PC.
Here I am typing "Hello World!"...

Make sure your cable is wired correctly and you have set the right baud rate on your PC.
Here I am typing "Hello World!"...
You do not have the required permissions to view the files attached to this post.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Hi,
i am not running them in ps one platform, but another game platform that based on psx.
the cable is okay, since the original exe is working. i have tried to compare both exe, the one that's not working have initheap() function called in the beginning, but the original is not.
regards
i am not running them in ps one platform, but another game platform that based on psx.
the cable is okay, since the original exe is working. i have tried to compare both exe, the one that's not working have initheap() function called in the beginning, but the original is not.
regards
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Please explain in more detail...dion wrote:i am not running them in ps one platform, but another game platform that based on psx.
Well the version you edited is working fine for me on the original hardware, so something else is wrong on your end. It sounds like something isn't being emulated correctly. Probably a FIFO buffer in the R3000A, whereas using the heap helped avoid this issue. I can't tell because I don't know what it is you're trying to do in regards to the above quote.dion wrote:the cable is okay, since the original exe is working. i have tried to compare both exe, the one that's not working have initheap() function called in the beginning, but the original is not.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
the platform i was talking about is konami system 573.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Okay, so it has an R3000A CPU: http://www.system16.com/hardware.php?id=582
It must be that because it isn't setting up the kernel that a standard PSX uses, it's failing to output the serial data directly. How are you getting the serial data anyway from the System 573. Did you solder to the R3000A Tx and Rx pins, or does it have a header on the mainboard?
It must be that because it isn't setting up the kernel that a standard PSX uses, it's failing to output the serial data directly. How are you getting the serial data anyway from the System 573. Did you solder to the R3000A Tx and Rx pins, or does it have a header on the mainboard?
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
the cpu rx tx goes to side pcb slot where usually there's security cart. it already mounted with max232 chip, so i just have to connect them.
like i said, the compiled tuto1.exe bundled with psyq 4.6, is running ok on it. so it just wierd that i tried to recompile and get different binary. well, it's not wierd anymore, but i still have to figure out how to reproduce exact binary from it.
like i said, the compiled tuto1.exe bundled with psyq 4.6, is running ok on it. so it just wierd that i tried to recompile and get different binary. well, it's not wierd anymore, but i still have to figure out how to reproduce exact binary from it.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
I'm more interested to know why the pre-compiled EXE is working and the EXE I compiled is working on original hardware but it isn't for you. I will look into it later and let you know what I find 

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Who is online
Users browsing this forum: No registered users and 2 guests