Search found 24 matches

by t0mb0la
Wed Sep 01, 2004 4:40 am
Forum: PS2 Development
Topic: Problem with gslib
Replies: 3
Views: 2717

Just a guess, but perhaps you need to call _init at the start of your main.

Code: Select all

extern "C" { void _init(void); }

int main(int argc, char **argv)
{
 _init();
 .
 .
 .
}
by t0mb0la
Sun Aug 22, 2004 9:10 pm
Forum: PS2 Development
Topic: Can I avoid linking with libstdc++ / libsupc++?
Replies: 5
Views: 4057

Wanted to say thanks for all the tips guys. I'm still looking into the memory allocation issue; still running out of memory after repeating the new / delete cycles often enough. Just to clarify, init.cpp (the code emoon passed onto me), has the "new, new[], delete, delete[] operators defined in...
by t0mb0la
Sun Aug 22, 2004 5:32 am
Forum: PS2 Development
Topic: Can I avoid linking with libstdc++ / libsupc++?
Replies: 5
Views: 4057

Can I avoid linking with libstdc++ / libsupc++?

Still actively working on Altimit. I've been implementing some code from emoon (init.cpp) mainly in an attempt to figure out why memory allocated and freed remains locked; still hitting a brick wall on this one. Anyway, thought it would be nice to remove '-lsupc++' from the Altimit Makefile (init.cp...
by t0mb0la
Tue Jun 29, 2004 1:51 am
Forum: PS2 Development
Topic: LibCDVD and BSOD
Replies: 3
Views: 2976

Are you building libcdvd example using the latest version of GSLIB? 0.51 iirc?
by t0mb0la
Fri Jun 04, 2004 4:15 pm
Forum: PS2 Development
Topic: Environment setup
Replies: 4
Views: 3534

Check if you have the file irx.h in F:/ps2dev/gcc/iop/lib/gcc-lib/iop/2.8.1-ps2dev/include. If you do, rename it to oldirx.h (or just delete it, you shouldn't need it). You really need to be including the irx.h which is included in ps2sdk, and chances are your compiler is finding the obsolete (?) ve...
by t0mb0la
Tue Jun 01, 2004 5:42 am
Forum: PS2 Development
Topic: HELP im so close to getting this!
Replies: 2
Views: 2884

Pukklink/ps2link read the network settings from the file IPCONFIG.DAT, which you should have on your CD. Did you modify this file to your requirements? In IPCONFIG.DAT you specify three things, first is the PS2 IP address, second is the Subnet Mask and last is the gateway IP address. mcloader does a...
by t0mb0la
Sun May 30, 2004 7:04 am
Forum: PS2 Development
Topic: ps2sdk build error
Replies: 6
Views: 4835

I saw the same link error for the first time yesterday, after a CVS update. I added an extra '-lc' to the EE_LIBS in ps2sdk/ee/loader/Makefile, as the first entry and linking worked. I am using gcc-3.2.2 in cygwin, which was compiled using ooPo's toolchain scripts, these include newlib as part of th...
by t0mb0la
Thu May 27, 2004 2:24 pm
Forum: PS2 Development
Topic: PS2Menu and new development
Replies: 11
Views: 6460

Hi, The errors you were getting with ps2sdk were because init_scr(); and scr_printf(); are no longer part of the kernel library. They are now in a separate lib which you should be able to use, assuming you are using the latest cvs version of ps2sdk, by adding #include "debug.h" to the load...
by t0mb0la
Thu May 27, 2004 1:42 pm
Forum: PS2 Development
Topic: Reading directory from CD
Replies: 4
Views: 3620

Hi Jum, Do you have TocEntryList aligned to 64 bytes? i.e: TocEntry TocEntryList[4000] __attribute__((aligned(64))); or struct TocEntry *TocEntryList = (struct TocEntry *) memalign(64, sizeof(struct TocEn...
by t0mb0la
Fri May 14, 2004 10:23 pm
Forum: PS2 Development
Topic: Latest version of PS2MENU?
Replies: 2
Views: 2727

Latest version is on CVS, there hasn't been an official binary release since v2.6 which is on ps2dev.org. There have been some minor changes since that version, CVS is 2.61 iirc and the only addition I can think of was a fix so that folders could be copied into mc0:/ (root folder). I'll drop you an ...
by t0mb0la
Mon May 10, 2004 7:35 am
Forum: PS2 Development
Topic: Bad code or gcc 3.2.2 compiler -O2 bug?
Replies: 15
Views: 8711

Ok, compiling with -O2 -fno-builtin removes the problem. Does this mean my builtin strcpy is broken?
by t0mb0la
Mon May 10, 2004 5:01 am
Forum: PS2 Development
Topic: Bad code or gcc 3.2.2 compiler -O2 bug?
Replies: 15
Views: 8711

Ok, here is the asm code generated without -O2 option for the textfill and textfunction: $LC0: .ascii "This should be line one\000" .align 3 $LC1: .ascii "Followed by line two\000" .align 3 $LC2: .ascii "Line three is the same\000" .align 3 $LC3&...
by t0mb0la
Sun May 09, 2004 1:02 pm
Forum: PS2 Development
Topic: Bad code or gcc 3.2.2 compiler -O2 bug?
Replies: 15
Views: 8711

I'm sure this isn't a UDP issue. I first came across it in a program which is using GSlib to display the text, the lines are messed up in exactly the same way, using strlen on textarray[0] or textarray[5] (in this example) will return what it 'sees' thus (I extended to printf("%s [%d]\n", ...
by t0mb0la
Sun May 09, 2004 11:19 am
Forum: PS2 Development
Topic: Bad code or gcc 3.2.2 compiler -O2 bug?
Replies: 15
Views: 8711

Bad code or gcc 3.2.2 compiler -O2 bug?

When I compile the code (debug.cpp) shown below with ee-gcc (3.2.2) using option '-O2' the following output is produced: uld be l Followed by line two Line three is the same So line four has same format ine one If I remove the '-O2' option, the text is output as expected. Is there something wrong wi...
by t0mb0la
Thu May 06, 2004 5:57 am
Forum: PS2 Development
Topic: PS2Menu and new development
Replies: 11
Views: 6460

I stopped working on PS2MENU to concentrate on re-writing a replacement for it. Marcus is right, the source is AFL, but perhaps not for the faint hearted ;) there is quite a bit of messy cludged code in there, and it may not be easy to understand what is going on. Don't let this stop you from adding...
by t0mb0la
Mon May 03, 2004 1:17 pm
Forum: PS2 Development
Topic: PS2VIC not loading from ps2 hdd using my loader and fakehost
Replies: 2
Views: 3148

This issue has been resolved now. Hopefully we can expect to see the updated version of PS2VIC available soon, if it isn't already. Raipsu was good enough to equip me with a fixed version, and it loads very effectively through fakehost now. Very nice it is too :P The problem was due to the method of...
by t0mb0la
Sat May 01, 2004 8:51 pm
Forum: PS2 Development
Topic: PS2VIC not loading from ps2 hdd using my loader and fakehost
Replies: 2
Views: 3148

PS2VIC not loading from ps2 hdd using my loader and fakehost

Can anybody shed any light on what is happening here? The same files load fine through ps2link off PC host: The following is the extended debug output. Sorry there is a lot of it. Loading fakehost.irx 3801 bytes pfs0:/PS2TESTS/ps2vic/ loadbuffer: addrres 10a500 args 22 arg pfs0:/PS2TESTS/ps2vic/ fak...
by t0mb0la
Sat May 01, 2004 7:13 am
Forum: General Discussion
Topic: PS2MENU Homebrew Software Tests
Replies: 13
Views: 11647

I did some more investigating, which led me to make some changes to the loader.elf code. Bunny Tetris, for whatever reason, was failing the latter part of my elf testing/loading code. It was loading the file fine, but where my loader expected to find the program start address (in elf header->entry) ...
by t0mb0la
Fri Apr 30, 2004 9:36 pm
Forum: General Discussion
Topic: PS2MENU Homebrew Software Tests
Replies: 13
Views: 11647

Hi EugeneE3RD, Well done on all the testing. I can help with some of these, but some I need to look into and others are more problematic. PS2 Invaders 1.6. This works, make sure the filename is AMIGAMOD.IRX, not amigamod.irx as supplied in the zip. The testmod.mod remains the same. host: is not alwa...
by t0mb0la
Fri Apr 30, 2004 7:17 pm
Forum: PS2 Development
Topic: Setting path for ps2DevEnvironment
Replies: 2
Views: 2703

My path is set as:

SET PATH=%PATH%;%PS2GCC%/share;%PS2GCC%/ee/bin;%PS2GCC%/iop/bin;%PS2GCC%/iop/lib/gcc-lib/iop/2.8.1-ps2dev;%PS2GCC%/iop/iop/bin;

Hope this helps.
by t0mb0la
Sat Apr 17, 2004 9:55 am
Forum: PS2 Development
Topic: has anyone gotten UMCDR oR CDX to work?
Replies: 6
Views: 4916

Instant CD+DVD / InstantDisc www.vob.de to generate an ISO9660 level-1 CD image (M$ Joliet, 255 max chars in pathnames); saved to an ISO image.

Used win32 UMCDR tool to 'fix' the ISO image, then burned generated CUE/BIN using Nero Burning Rom v5.5 www.nero.com
by t0mb0la
Mon Mar 22, 2004 4:52 am
Forum: PS2 Development
Topic: running from DVD
Replies: 1
Views: 2365

AFAIK, PS2MENU should load from a DVD-R without any changes required. So long as 'BOOT2 = cdrom0:\PS2MENU.ELF;1' is specified in the SYSTEM.CNF file and both those files are in the root of your DVD-R. Not sure if you'll need some dummy.dat file also. Personally, I'd recommend you load it via the Ind...
by t0mb0la
Thu Mar 18, 2004 5:40 am
Forum: PS2 Development
Topic: how to compile ps2 menu 2.1
Replies: 15
Views: 9012

Is your PS2DRV up to date, and does that all compile fine? Amidst all the warnings produced by compiling (too many warnings I know) FIO_SO_IFDIR and FIO_SO_IFREG undeclared stands out to me. These are both defined in $PS2DRV/common/include/sys/stat.h, which should be included by fileXio_rpc.h (heade...
by t0mb0la
Mon Feb 23, 2004 6:44 pm
Forum: PS2 Development
Topic: using cd-r to transfer files to memory card
Replies: 6
Views: 6010

PS2MENU 2.3b

Still in development, but this version will allow you to do that.
You'll need to create a PS2 bootable CD which runs the PS2MENU.ELF

Here is a link to the current binary:
http://www.keepersofchaos.us/ps2menu/PS2MENU.zip