Hello World message with another EXE-runner by Start/X
- SlavaVlasov
- Curious PSXDEV User
- Posts: 11
- Joined: Jul 21, 2018
- I am a: Romhacker, Programmer, Gamer
- PlayStation Model: SCPH-5502
Hello World message with another EXE-runner by Start/X
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.
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.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2686
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
See the Psy-Q examples for Load() and Exec() to load it as a child process, or LoadExec() to load it as a parent.
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.
- SlavaVlasov
- Curious PSXDEV User
- Posts: 11
- Joined: Jul 21, 2018
- I am a: Romhacker, Programmer, Gamer
- PlayStation Model: SCPH-5502
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:
Nevertheless, "Hello World" from PSXDEV's example is perfectly boot. Is the problem in the Blade?
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
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2686
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Yes. Don't use "PSone Development Studio 2006". Use "Psy-Q" or "LameGuys SDK".
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.
- SlavaVlasov
- Curious PSXDEV User
- Posts: 11
- Joined: Jul 21, 2018
- I am a: Romhacker, Programmer, Gamer
- PlayStation Model: SCPH-5502
Ok. I understand.
Where i can find more samples for PSY-Q? Example, make a scrolling tiled (from Tim) background behind text?
Where i can find more samples for PSY-Q? Example, make a scrolling tiled (from Tim) background behind text?
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2686
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
From the samples directory on the 'Programmers Tool' CD-ROM which can be found on the 'Downloads' page on the website.
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.
- SlavaVlasov
- Curious PSXDEV User
- Posts: 11
- Joined: Jul 21, 2018
- I am a: Romhacker, Programmer, Gamer
- PlayStation Model: SCPH-5502
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.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2686
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
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.
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