Page 1 of 1

Hello World message with another EXE-runner by Start/X

Posted: July 21st, 2018, 11:16 am
by SlavaVlasov
Hello! I'm new here.
I use a Psx / PSOne Development Studio 2006.
I would like to see the following example:
The most common EXE, displaying the message "Hello World", but that when you press the Start or X triggered the launch of another EXE file (specified in the code) on the cdrom.

How to do that?
Thanks.

Re: Hello World message with another EXE-runner by Start/X

Posted: July 21st, 2018, 12:58 pm
by Shadow
See the Psy-Q examples for Load() and Exec() to load it as a child process, or LoadExec() to load it as a parent.

Re: Hello World message with another EXE-runner by Start/X

Posted: November 21st, 2019, 2:34 pm
by SlavaVlasov
Another problem arose: I compiled EXE "in" "PSOne Development Studio 2006" and renamed it to "PSX.EXE". Then compiled the image, but pSX 1.13 writes in command prompt the following:

Code: Select all

r3000: executed illegal opcode bfc06fdc
r3000: executed illegal opcode 00797474
r3000: executed illegal opcode 534e4f43
r3000: executed illegal opcode 00454c4f
r3000: executed illegal opcode 00010001
r3000: executed illegal opcode 00000001
Nevertheless, "Hello World" from PSXDEV's example is perfectly boot. Is the problem in the Blade?

Re: Hello World message with another EXE-runner by Start/X

Posted: November 21st, 2019, 9:57 pm
by Shadow
Yes. Don't use "PSone Development Studio 2006". Use "Psy-Q" or "LameGuys SDK".

Re: Hello World message with another EXE-runner by Start/X

Posted: November 22nd, 2019, 3:18 am
by SlavaVlasov
Ok. I understand.
Where i can find more samples for PSY-Q? Example, make a scrolling tiled (from Tim) background behind text?

Re: Hello World message with another EXE-runner by Start/X

Posted: November 22nd, 2019, 4:03 am
by Shadow
From the samples directory on the 'Programmers Tool' CD-ROM which can be found on the 'Downloads' page on the website.

Re: Hello World message with another EXE-runner by Start/X

Posted: November 24th, 2019, 8:25 am
by SlavaVlasov
I Found "BGSAMPLE" folder there, but i can't execute this sample on emulator. I even maked a ISO image through "buildcd+stripiso", but after boot logo i see just black screen.

Re: Hello World message with another EXE-runner by Start/X

Posted: November 24th, 2019, 10:33 pm
by Shadow
I think that uses PQBLOAD.COM by default from Sony so you'll have to edit it with custom CD loading routines for use on an emulator or link the data file into memory.