Page 2 of 5

Re: PSX CD-Player only Project

Posted: August 30th, 2012, 4:40 am
by Orion_
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

Re: PSX CD-Player only Project

Posted: August 30th, 2012, 6:53 am
by adamoda
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.

Re: PSX CD-Player only Project

Posted: August 30th, 2012, 8:10 am
by adamoda
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.

Re: PSX CD-Player only Project

Posted: August 30th, 2012, 5:07 pm
by Shadow
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.

Re: PSX CD-Player only Project

Posted: August 31st, 2012, 4:44 am
by Orion_
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"

Re: PSX CD-Player only Project

Posted: September 1st, 2012, 7:05 am
by adamoda
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?

Re: PSX CD-Player only Project

Posted: September 1st, 2012, 9:04 am
by adamoda
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:-)

Re: PSX CD-Player only Project

Posted: September 1st, 2012, 12:57 pm
by Shadow
Here is the:

CAETLA SOURCE
caetla.c
MAKEFILES
MAKEFILES.zip

Re: PSX CD-Player only Project

Posted: September 7th, 2012, 11:58 pm
by AmiDog
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 :)

Re: PSX CD-Player only Project

Posted: September 8th, 2012, 12:17 am
by Shadow
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

Re: PSX CD-Player only Project

Posted: September 24th, 2012, 2:42 am
by Type 79
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.

Re: PSX CD-Player only Project

Posted: September 24th, 2012, 11:49 pm
by Shadow
Thats pretty cool and a good way of doing it. Nice work!

Re: PSX CD-Player only Project

Posted: October 2nd, 2012, 5:49 am
by Type 79
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

Re: PSX CD-Player only Project

Posted: October 2nd, 2012, 3:41 pm
by Shadow
Does not boot. There is something wrong with your code.
It can't get past the Kernal / Configuration setup says the debug window.

:crying

Re: PSX CD-Player only Project

Posted: October 2nd, 2012, 4:12 pm
by Type 79
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

Re: PSX CD-Player only Project

Posted: October 2nd, 2012, 6:47 pm
by Shadow
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.

Re: PSX CD-Player only Project

Posted: October 2nd, 2012, 11:37 pm
by Type 79
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.

Re: PSX CD-Player only Project

Posted: October 3rd, 2012, 2:10 pm
by Shadow
Type 79 wrote:That .psx version is compressed .exe with ByteKiller. Took half of size away.
But it stopped it from working :shrug

Re: PSX CD-Player only Project

Posted: October 6th, 2012, 1:54 am
by Type 79
Image
It's Alive!

[youtube]http://www.youtube.com/watch?v=yQGE5pV4_J4[/youtube]

Re: PSX CD-Player only Project

Posted: October 10th, 2012, 3:58 am
by Type 79
[youtube]http://www.youtube.com/watch?v=5c226Jopa_Y[/youtube]
New video, with bigger display.