PSX CD-Player only Project

Start a work log and update it occasionally with your projects progress
Orion_
Verified
Legendary Programmer
Legendary Programmer
Posts: 256
Joined: Aug 13, 2012
I am a: Programmer
PlayStation Model: Net Yaroze
Location: France
Contact:

Post by Orion_ » August 30th, 2012, 4:40 am

all those old tools doesn't work on computer with modern OS such as XP, try the tool "catflap" instead.
if you don't find it, try the one I recompiled on my website: http://onorisoft.free.fr/psx/psx.htm
Retro game development on Playstation and other consoles http://orionsoft.free.fr/

adamoda
Curious PSXDEV User
Curious PSXDEV User
Posts: 15
Joined: Jul 14, 2012

Post by adamoda » August 30th, 2012, 6:53 am

shadow: i tried with Win98. It works :-). I would prefer linux
shadow: 2) i ment the memory chip inside PS ( the original chip inside ), not in xploder -> only tests with parallel port
Orion_: I've tried catflap under linux. It works sometimes ( < 10%, Tested with Caetla 0.34 und 0.35 on the xploder ). I don't know what is the problem. Perhaps i have old/incompatible sources. Output of catflap
...
+------------------------------------------------------------+-------+
| CatFlap for Linux (Control for PSX & Caetla ROM) | v0.01 |
+------------------------------------------------------------+-------+
Internal CCaetla Class version 2.36
...

What does it mean: v0.01/V2.36 ?

Thanx for further informations.

adamoda
Curious PSXDEV User
Curious PSXDEV User
Posts: 15
Joined: Jul 14, 2012

Post by adamoda » August 30th, 2012, 8:10 am

Orion_: I've tried the linked version of catflap under XP

Code: Select all

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ¿
³ CatFlap                     (Control for PSX & Caetla ROM) ³ v2.36 ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄ´
³ (C) Intar Technologies Limited, 1998-2000      [IN-HOUSE USE ONLY] ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³ Special version using 'inpout32.dll'              by Orion_ [2012] ³
³ Default config changed to: Cart=XPlorer Port=0x378                 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Internal CCaetla Class version 2.36
Leaving - Kernel-Mode I/O Access unavailable.
Where can i find the actual sources of catflap v2.36?
I would like to try compile catflap for linux.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » August 30th, 2012, 5:07 pm

If my memory is correct, I have the source to CATFLAP. I don't know if I am allowed to release it, but most likely I can. I will check.
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.

Orion_
Verified
Legendary Programmer
Legendary Programmer
Posts: 256
Joined: Aug 13, 2012
I am a: Programmer
PlayStation Model: Net Yaroze
Location: France
Contact:

Post by Orion_ » August 31st, 2012, 4:44 am

you need to read the readme of my release, you will need to install the inpout32 driver.
The original Catflap sources won't compile under linux, because it was made for Windows NT, you need the special version a guy make especially for linux, that's the version you have "CatFlap for Linux (Control for PSX & Caetla ROM) | v0.01"
Retro game development on Playstation and other consoles http://orionsoft.free.fr/

adamoda
Curious PSXDEV User
Curious PSXDEV User
Posts: 15
Joined: Jul 14, 2012

Post by adamoda » September 1st, 2012, 7:05 am

I can't find any InstallDriver.exe, I've simple copied input32.dll to ...system32 directory and start this driver under not-PNP-Driver manually( Status -> Started, but it still doesn't work. The same message: Kernel-Module I/O Access unavailable.
Where I can find this executable? Is is really XP compatible?

Where can I find something newer for catflap for linux?

adamoda
Curious PSXDEV User
Curious PSXDEV User
Posts: 15
Joined: Jul 14, 2012

Post by adamoda » September 1st, 2012, 9:04 am

Hallo again,

perhaps it is necessary to install caetla037?
I have only found xflash-CD with 035-ROM-version and I don't know how to create/generate/modify a romfile.dat modul.
Anyone knows where can I find some informations about creating this DAT-file, or where to find a ready CD-image of xflash with 037( Probably caetlatools.rar -> I can not find this file )? Another possibilities to burn new ROM over LPT?

I found some "google-search-results" with "working" constellation Caetla-037 and Catflap-2.36.

Is there something like a check list with requirements for successful communication LPT1<->XPLODER under XP/or Linux, to run an sample.exe-Program?
f.ex.:
1) C:\windows\system... -> input32.dll
2) Makefile with for this Program with Description: sth. like: ccpsx -O -Xo$80100000 main.c -o......., why 80100000 and so on....
....
10) start download -> OK:-)

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » September 1st, 2012, 12:57 pm

Here is the:

CAETLA SOURCE
caetla.c
MAKEFILES
MAKEFILES.zip
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.

AmiDog
Active PSXDEV User
Active PSXDEV User
Posts: 53
Joined: Sep 07, 2012

Post by AmiDog » September 7th, 2012, 11:58 pm

adamoda wrote:Am I the only one where startup is so hard :-)?
Nope. I had many issues as well before I managed to get a setup working correctly on my XP machine. It wasn't until I found X-Killer v0.55 (and thus managed to reflash my Xplorer cart with caetla 0.34) and catflap 2.36 that I finally had a setup that was working properly. (Just remember to reboot after catflap has installed the NT parallell driver.)

Before that, using the default Xplorer tools, I was lucky if I even managed to upload tiny exes to the PS1, and that was when I used a Win98 bootdisk to run the tools from DOS... Every atempt from XP failed, and all PS-EXEs larger than some 128KB always got timeouts. But now everything is working properly :)

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » September 8th, 2012, 12:17 am

I will try to get the USB based comms PCB finished ASAP because using LPT1 is not compatible anymore with anything with these new Windows OS's.

It will be plug and play with high transfer speeds and only one program will be used for HEX editing as well as (of course) upload and downloading to and from the PSX. It will be a lot cheaper than buying PSIO as PSIO is intended for playing games, not so much making them, though PSIO will still have this feature :P
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.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » September 24th, 2012, 2:42 am

I have been working with similar project for a while.

My cd-player software uses psx-serialport to send data to Arduino once per second, only one wire needed.
I have some problems to get my 16x2 lcd to work, it's probably broken.
Ordered new, so gonna take while until get that working.

Image
RX and TX from PlayStation serialport connected to Arduino.

Without lcd i still can send data to pc.
PlayStation -> Arduino -> PC.

Image
Screenshot from Arduino serial-monitor, shows what info Arduino sends to pc.

1st num - track playing
2nd num - Total tracks on cd
3rd num - minute of track
4th num - second of track
5th num - minute of cd
6th num - second of cd

More to come when i get that new lcd.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » September 24th, 2012, 11:49 pm

Thats pretty cool and a good way of doing it. Nice work!
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.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » October 2nd, 2012, 5:49 am

It's been 30 years since first CD, so I release my simple cd-player v.0.01 "30 year's of CD Celebration Edition" :dance

[X] - Play
[O] - Stop
[Select] - Pause
[R1] - Next Track
[L1] - Previous Track
[R2] - Forward
[L2] - Backward
[Up] - Volume up
[Down] - Volume down

Tested only on real PlayStation with Caetla.

Still waiting new lcd
You do not have the required permissions to view the files attached to this post.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » October 2nd, 2012, 3:41 pm

Does not boot. There is something wrong with your code.
It can't get past the Kernal / Configuration setup says the debug window.

:crying
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.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » October 2nd, 2012, 4:12 pm

Oh, weird as it work just fine here.
Image

Do you have audio-cd in psx when you sent program, it should work without one and ask to insert cd.

Well here's notcrunched version to test.
MAIN.EXE
And my crappy sourcecode.
cd-player.v0.01.source.zip
You do not have the required permissions to view the files attached to this post.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » October 2nd, 2012, 6:47 pm

You're using CATFLAP, were as I am using PSEXE.COM.

Anyway, it works perfectly fine now (im using PSEXE.COM still).
The crunching (compression) tool must have messed it up.

I also noticed that you're not using an auto-region selector in your code.
Add this:

Code: Select all

   // automatic video mode control
if (*(char *)0xbfc7ff52=='E') // SCEE string address
     SetVideoMode(1); // PAL MODE
else
     SetVideoMode(0); // NTSC MODE
In this case, you will also need to setup the screen properties.

Code: Select all

// screen width and height
#define SCREEN_WIDTH  320
#define	SCREEN_HEIGHT 240

// set the graphics mode resolutions
GsInitGraph(SCREEN_WIDTH, SCREEN_HEIGHT, GsINTER|GsOFSGPU, 1, 0);

// set the top left coordinates of the two buffers in video memory
GsDefDispBuff(0, 0, 0, SCREEN_HEIGHT);
If you don't setup the screen, then for example, when I run it as a PAL system, everything gets 'pushed' to the top of the screen.

I have now got VAG audio playback from SPU RAM working though which uses a lot less disc space.
I will share the code soon for everyone. Hopefully by tonight.
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.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » October 2nd, 2012, 11:37 pm

Yep it's based on some random sources i have. It's still under work so videomodes and many stuff is still to make, and learn.

That .psx version is compressed .exe with ByteKiller. Took half of size away.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » October 3rd, 2012, 2:10 pm

Type 79 wrote:That .psx version is compressed .exe with ByteKiller. Took half of size away.
But it stopped it from working :shrug
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.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » October 6th, 2012, 1:54 am

Image
It's Alive!

[youtube]http://www.youtube.com/watch?v=yQGE5pV4_J4[/youtube]
Last edited by Type 79 on October 6th, 2012, 3:52 am, edited 1 time in total.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » October 10th, 2012, 3:58 am

[youtube]http://www.youtube.com/watch?v=5c226Jopa_Y[/youtube]
New video, with bigger display.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests