Search found 109 matches

by jman
October 21st, 2013, 12:12 am
Forum: Psy-Q SDK
Topic: Psy-Q lib.c issues
Replies: 3
Views: 4889

Re: Psy-Q lib.c issues

Thank you for providing the right keyword ("malloc3"), I've found the reference in the libref46.pdf document.
I'm also interested in this specific implementation of the malloc()/free(). Some low-level knowledge never harms, even if just doing simple things.
by jman
October 20th, 2013, 10:33 am
Forum: Graphics/GPU
Topic: Tutorial & Lib for TIM Image/Sprite and BS Image
Replies: 4
Views: 6011

Re: Tutorial & Lib for TIM Image/Sprite and BS Image

Hello Orion_, thanks for your library. There's a an issue however that I cannot quite explain. At first I thought it was somewhere in my code, but then I realized the problem is how I compile your library . No problem arise if I compile directly everything like you show in your .BAT files, ex: set p...
by jman
October 20th, 2013, 1:14 am
Forum: Psy-Q SDK
Topic: Psy-Q lib.c issues
Replies: 3
Views: 4889

Psy-Q lib.c issues

I've found in the official SCEE Playstation Developer's guide (v2.9) a note about memory management functions: Dynamic Memory Allocation and the Heap (...cut...) In C, memory allocation is achieved using the malloc and free functions. Unfortunately there have been several problems with these functio...
by jman
October 18th, 2013, 8:43 am
Forum: Programming/CPU
Topic: psymake Makefiles
Replies: 4
Views: 4697

Re: psymake Makefiles

I have some issues though in parsing the recipe, example this line (I'm compiling using PSXLIB) returns an error: $(CC) $(CFLAGS) -I$(PSXLIB_HEADERS)\. -Xo$(address) DataManager.o System.o Sprite.o Prim2D.o Dialog.o BG.o $(prog).c -o $(prog).cpe,$(prog).sym,$(prog).map while executing it on CLI work...
by jman
October 17th, 2013, 7:19 am
Forum: Programming/CPU
Topic: psymake Makefiles
Replies: 4
Views: 4697

Re: psymake Makefiles

What an idiot I am. Of course the syntax is the same as the usual Makefile, example:

Code: Select all

c:\>set MYPATH=c:\dir\subdir
and then in the makefile recipe retrieve that variable with:

Code: Select all

test:
    echo $(MYPATH)
by jman
October 16th, 2013, 8:59 am
Forum: Programming/CPU
Topic: psymake Makefiles
Replies: 4
Views: 4697

psymake Makefiles

Hello, I'd like to create a variable in a psymake Makefile using a Windows path. What is the correct syntax? Example: LIBPATH=%PSXLIB_PATH% but it doesn't work. I think I've read somewhere that psymake is just a variant of a Windows GNU make, is it true? Where do I find documentation for psymake and...
by jman
August 17th, 2013, 8:02 am
Forum: Programming/CPU
Topic: Code debugging without real hardware
Replies: 8
Views: 9175

Code debugging without real hardware

Hello, I'm moving the first steps with some sample code with the Psy-Q SDK. I've never approached console development, so I wonder if it is possible to debug one's code (e.g. printf() statements) when code is run inside an emulator. Tried epsxe and xebra but none of them prints anywhere my printf()s...
by jman
August 16th, 2013, 8:56 pm
Forum: General Chat / Messaging
Topic: Hi everybody
Replies: 3
Views: 3162

Re: Hi everybody

Hi jman. For testing your code I recommend a real PSX with a serial cable to upload the software, Xplorer FX or if you really need to use emulator use Xebra. ePSXe is too inaccurate for precise adjustments in your code. Thanks, I've downloaded it (good to know the author started again working on it...
by jman
August 16th, 2013, 10:20 am
Forum: General Chat / Messaging
Topic: Hi everybody
Replies: 3
Views: 3162

Hi everybody

Hello, I'm pretty new around here, this is just to say hello and then I'll lurk a bit to allow me studying the basics of PSX programming. First of all it's great to see this site and it was utterly a surprise when I discovered it a couple of days ago. Last time I checked the PSX homebrew "scene" onl...