Search found 185 matches

by mc
Mon Nov 23, 2009 7:35 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

@guilt: Well, I don't have such a config.h, because I don't do windows, but if you create one that works, I can merge it to my repository. @ifcaro: You can convert the ELF to a BLD as guild suggests (although you need to convert the ELF to raw binary using "ppu-objcopy -O binary" before gz...
by mc
Mon Sep 07, 2009 7:44 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

MC, are you still here? Unless I hear from you, I'm going to begin porting either MINIX or L4 to Cell, but I could use some of your expert knowledge... (or anyone else here that is familiar with kernel mode PPE). I'm here. Please feel free to start porting MINIX, or Mach, or NetBSD, or whatever you...
by mc
Sat Aug 22, 2009 12:54 am
Forum: PS3 Development
Topic: Slim PS3 = No More Otheros
Replies: 82
Views: 60782

PS - To make it clearer: drivers for any harware even if not developed anymore will cost you, since you have to validate them for each release, especially if you change your kernel. In this case, the fact that the OtherOS environment is something the machine boots straight into (directed by an indi...
by mc
Wed Aug 12, 2009 12:50 am
Forum: PS3 Linux Development
Topic: Total memory is 131MB, not 256MB?
Replies: 20
Views: 11539

He is not wrong. The initial RAM has LPAR address 0-0x7ffffff. Note that the dmesg printout relating to the initial RAM gives the _top_ address of RAM (0x7ffffff+1), not the start of it.
by mc
Wed Jul 29, 2009 11:09 pm
Forum: PS3 Linux Development
Topic: Total memory is 131MB, not 256MB?
Replies: 20
Views: 11539

Well, what Linux does with it is a question which might be better asked in the Linux forum. With a 2.6.28.10 kernel at least, the 112M gets added to the regular memory pool so that you can malloc() from them: miu:~% uname -a Linux miu 2.6.28.10 #1 SMP Sun Jul 5 12:11:51 CEST ...
by mc
Wed Jul 29, 2009 9:30 pm
Forum: PS3 Linux Development
Topic: Total memory is 131MB, not 256MB?
Replies: 20
Views: 11539

The first 128M can be accessed either in real mode (using effective address 0 - 0x7ffffff), or by using the MMU to map LPAR address 0 - 0x7ffffff to some virtual address range of your choice (see lv1_write_htab_entry et al). The remaining 112M can be allocated using the lv1_allocate_memory HV call. ...
by mc
Wed Jul 15, 2009 6:58 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

@rapso: If you don't want to use the MMU driver, that's fine. Just don't call ps3MmuInit () and ps3MmuOn(), and you'll get your flat memory model. Note however that due to the way hardware virtualization works in the Cell, the flat memory model contains 128MB of RAM _only_. No video memory, no USB r...
by mc
Wed Jul 15, 2009 6:46 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

* lv1 calls renamed to lv1NetControl(...) instead of lv1_net_control(...) to try to remove the 'GPLisnes' of it Actually, I'm not sure this is productive. You can't copyright an API, and I'm pretty sure these names come from the IBM/Sony HV code anyway, so I don't see any "GPLisnes" to re...
by mc
Thu Jul 09, 2009 7:23 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

@gkr: Did you follow the instructions here?

Or maybe you are using MS-DOS?
by mc
Mon Jul 06, 2009 9:07 pm
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

Yes, I was also thinking about this kind of solution for interrupt processing. I have experience from work with commercial microkernels which use this method, and it really makes stuff easier for the clients. For it to work properly, I think preemption needs to be added to the scheduler though (it d...
by mc
Sat Jul 04, 2009 7:35 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

The approach so far is pretty modular. I don't even FORCE anyone to turn on the MMU,
although of course most drivers won't work without it... ;-)
by mc
Sat Jul 04, 2009 3:51 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

Yup, then information in the wiki is more than adequate (you actually only need <name, id, # of inputs, # of outputs> for each call). I've already started creating a header file with prototypes for the HV calls based on the wiki (src/hypervisor/ps3hv.h). Hm, one file I'm a little unsure about is the...
by mc
Sat Jul 04, 2009 3:37 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

@jbit: Yes, that's why I mentioned this issue with the existing USB driver.

I've reused the LICENSE from the PSPSDK.

Currently I have lv1callarg.h, lib1calltab.h and hv.S still copied from Linux for generating
the HV call stubs, so I guess another work package would be to cleanroom that.
by mc
Sat Jul 04, 2009 3:20 am
Forum: PS3 Development
Topic: Is there a ps3sdk?
Replies: 14
Views: 9642

by mc
Sat Jul 04, 2009 3:17 am
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 38156

PS3SDK collaboration invitation

Well, we've all heard the rumors about ongoing PS3SDK development efforts, but so far nobody has shown any code. I think the main problem with getting a PS3SDK out the door is that it's a rather large project for one or two persons to undertake, so eventually anyone who tries on his own will get stu...
by mc
Mon Jun 29, 2009 9:33 am
Forum: PS3 Development
Topic: Is there a ps3sdk?
Replies: 14
Views: 9642

I actually started working on an SDK a couple of months ago. It's not very useful
yet, but if there are people who are interested in helping out I could publish
the bzr repository...
by mc
Tue May 12, 2009 12:26 am
Forum: PS3 Development
Topic: attempting to return from interrupt - failing
Replies: 3
Views: 3453

By the way, is there an instruction analogous to pusha and popa in pcc-assembly? Not really. There exist "store multiple" and "load multiple" instructions, but they only handle the 32 least significant bits, and are generally slower than storing the registers individually anyway...
by mc
Thu Mar 19, 2009 9:08 pm
Forum: PS3 Linux Development
Topic: spu isolation mode
Replies: 6
Views: 5997

Putting an SPU into isolation mode does not give it access to any extra data. It only prevents _others_ from accessing what that SPU already has.
Thus a key-cracking application will not benefit from running in isolation
mode.
by mc
Sun Sep 21, 2008 2:11 am
Forum: PS3 Development
Topic: sixaxis or userinput with BD-J
Replies: 6
Views: 4685

Without knowing what your "Screen" class looks like, I expect you need to repaint
the component after adding stuff to messages for them to appear on screen.
by mc
Thu Sep 18, 2008 1:16 am
Forum: PS3 Development
Topic: sixaxis or userinput with BD-J
Replies: 6
Views: 4685

UserEventListener is right. You need to do this in initXlet: UserEventRepository userEventRepo = new UserEventRepository("evt"); userEventRepo.addAllArrowKeys(); userEventRepo.addAllColourKeys(); userEventRepo.addAllNumericKeys(); userEventRepo.addKey(HRcEvent.VK_ENTER); userEventRepo.addK...
by mc
Sat Sep 13, 2008 7:25 am
Forum: PS3 Development
Topic: BD-J and access to file
Replies: 2
Views: 3260

You can access files just fine as long as they are on the BluRay media (in the AVCHD directory in the case of BD-J on USB memory). Use System.getProperty("bluray.vfs.root") to get the base path to use. So to access a file in AUXDATA for example, use File myfile = new File(System.getPropert...
by mc
Thu Aug 07, 2008 5:57 am
Forum: PS3 Development
Topic: QuadCurve2D -- PS3 BD-J support ?
Replies: 3
Views: 4139

Sweet. Thanks 2^20, tmaster.

Maybe we should have a separate forum about BD-J development, just as there is
one about Linux development?
by mc
Thu Aug 07, 2008 3:31 am
Forum: PS3 Development
Topic: QuadCurve2D -- PS3 BD-J support ?
Replies: 3
Views: 4139

Sorry, I don't have the answer to your question, but I just have to ask: What software
are you using to author discs with BD-J content? And will the PS3 run BD-J content
from a BD-9 (DVD) disc?

I've been looking for a way to try out BD-J on the PS3, but struck zero so far...
by mc
Mon Jul 28, 2008 10:27 am
Forum: PS3 Development
Topic: PS3 Hardware Questions (Extra USB Port?)
Replies: 7
Views: 10031

The "white" (silver, actually) PS3 is the prototype which was shown at E3 2005. It wasn't really working, but presumably the 6 USB ports did reflect some actual plans (which later got scrapped) for how the final system should be. I expect cost was a bigger factor than cooling in the reduct...
by mc
Sun Jul 27, 2008 10:18 pm
Forum: PS3 Development
Topic: PS3 Hardware Questions (Extra USB Port?)
Replies: 7
Views: 10031

Re: PS3 Hardware Questions

The specs say there are 4 USB ports, and there are. They are attached to the root hub, just like in a normal PC. That's not true, for the 60GB model at least. There are two USB channels, each with a 2 port root hub. But the 4 USB ports on the front are not connected directly to any root hub, but to...
by mc
Tue Jul 22, 2008 12:17 am
Forum: PS3 Development
Topic: otheros/file.bin?
Replies: 9
Views: 7936

It also says that lv2_kernel.self is the GameOS, so presumably it is not loaded at all when
the system is configured for OtherOS operation, but only the lv1 stuff. And that would
be why the Linux code only contains lv1 calls; there is no lv2 loaded to call.
by mc
Sun Jul 20, 2008 7:49 am
Forum: PS3 Development
Topic: otheros/file.bin?
Replies: 9
Views: 7936

The "lock" on SPEs is called "isolation mode", and is unrelated to the hypervisor state. I don't understand why you are bringing in "secure boot" into this. otheros.bld is loaded into the virtualized machine which is seen from the supervisor and problem states. At that ...
by mc
Sat Jul 19, 2008 8:50 pm
Forum: PS3 Development
Topic: otheros/file.bin?
Replies: 9
Views: 7936

Um. I'm not sure what you're trying to say here. Hypervisor is an execution state in the PPU, above both the "problem state" and "supervisor state". It is controlled by the HV (for HyperVisor) bit in the MSR. (See PowerPC architecture manuals) It has nothing in particular to do w...
by mc
Fri Jul 18, 2008 9:30 pm
Forum: PS3 Development
Topic: otheros/file.bin?
Replies: 9
Views: 7936

There isn't even a "BIOS". There is only the Hypervisor, but the services it provides are somewhat different from those of a PC BIOS. It can setup the screen video mode for you, it can map the hardware frame buffer into your address space, and it can copy blocks of data from CPU memory to ...
by mc
Wed Jul 16, 2008 11:13 pm
Forum: PS3 Development
Topic: otheros/file.bin?
Replies: 9
Views: 7936

There is no "BIOS font". A PS3 is not a PC.