All times are UTC-06:00




Post new topic  Reply to topic  [ 57 posts ] 
Author Message
 Post subject: Re: Palette
PostPosted: Fri Aug 04, 2006 11:55 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Do you mean that i won't be able to upload a palette in VESA mode? Well there are workarounds:
1) Just upload it to the DAC via already existing direct-hardware code.
This is how we do it in the firmware. Actually it's a bit of a hack, still. For 16 and 32bit modes, it is just a lookup table of stored values..

Does anyone need 8-bit anymore? MacOS X won't run in 8-bit and Windows XP hides those modes.. I think even 16-bit modes are having their day (since there is no alpha channel, those fancy window effects would be and are disabled in Vista in 16-bit)
Quote:
2) I also deeply doubt that someone will have a card which doesn't support 800x600x32bpp. So you're right here, i can omit all sophisticated tests and just force 800x600x32bpp mode. Anyway it's just initial boot screen for two purposes: displaying happy (or sad ;-)) Mac's face and dumping kernel crashes.
Yep. 800x600x32bit is what XP boots into. If you ever bought a monitor in the last 5 years it HAS to support that mode to get a Windows logo.

All TV cards since 8 years support it.

And previously, if you had a monitor that didn't support that mode.. well.. SuperVGA resolution, if you don't support that, you're well and truly in the wrong business if you're a monitor manufacturer.

_________________
Matt Sealey


Top
   
 Post subject: Just for interest...
PostPosted: Sun Aug 06, 2006 11:45 pm 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
During playing with DirectHardware VGA driver (which doesn't work yet) i've found out an interesting thing...
CRT controller is programmed using two ports: register no and data. And if reg number port is N and data port is N+1 there. In original code (okd XFree86) an outw operation is used to program it. On PPC it is implemented as ONE word-wide store operation and eieio after it (i've copied the operation from Linux kernel, but it's the same anywhere else). My question is: is it okay? I assume it's not. This approach does not guarantee that N gets written before N+1 and the things go wrong way. Am i right here?


Top
   
 Post subject: Re: Just for interest...
PostPosted: Mon Aug 07, 2006 6:58 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
My question is: is it okay? I assume it's not. This approach does not guarantee that N gets written before N+1 and the things go wrong way. Am i right here?
eieio guarantees that IO writes are done in memory address order (N, N+1, N+2 etc.) so it actually works.

A lazy performance trick :)

However if you wanted to be truly, totally correct about it, you could do two byte writes, with eieio after each. This is slow, though (as store reordering, write combining etc. gets disabled for the entire store queue), and for graphics operations you want to spend the least time waiting on the card as possible.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun Sep 24, 2006 2:22 am 
Offline

Joined: Wed Aug 09, 2006 3:44 am
Posts: 14
Dammit, seeing a reply in this thread gave me hope of some sort of progress update, and then it's just spam. :x


Top
   
 Post subject:
PostPosted: Sun Sep 24, 2006 3:47 am 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1443
Sorry about that! We will reach out to one of the Darwin Developers that has an ODW. He is also on the Gentoo Power Team so he is still around. Apple announced the end in July and then in August Darwin 8.7 (Mac OS X 10.4.7) was released. We are not the people to ask where Darwin is headed, but we will check on the situation.

R&B :)

_________________
http://bbrv.blogspot.com


Top
   
 Post subject:
PostPosted: Mon Sep 25, 2006 3:13 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Sorry about that! We will reach out to one of the Darwin Developers that has an ODW. He is also on the Gentoo Power Team so he is still around. Apple announced the end in July and then in August Darwin 8.7 (Mac OS X 10.4.7) was released. We are not the people to ask where Darwin is headed, but we will check on the situation.
At least, the major project drive is dead;

http://www.opendarwin.org/en/news/shutdown.html

What point is there now? Apple moving off to Intel, they will drop Power in the end. Running Darwin on it's own with X and so on is no different to booting FreeBSD.

Time would be better spent getting one of the other operating systems off the ground. FreeBSD, NetBSD, both are good candidates and share similar system design (in fact Darwin's toolset is based on FreeBSD, as Linux's toolset is GNU)

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon Sep 25, 2006 6:14 am 
Offline

Joined: Wed Aug 09, 2006 3:44 am
Posts: 14
Running Mac OS X native on the Pegasos is "point" enough for me, and I don't see how focusing FreeBSD or NetBSD would help accomplish that. Just my 5 cents.


Top
   
 Post subject:
PostPosted: Thu Oct 05, 2006 7:22 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
My work's primary goal is MacOS X, not Darwin itself. To tell the truth i don't see any need for BSD since there is Linux and i see no task which BSD can do and Linux can't do. From the application point of view they are the same.
MacOS X is useful by itself because it provides a possibility to run many commercial apps which are helpful in everyday work.


Top
   
 Post subject:
PostPosted: Thu Oct 05, 2006 3:19 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Running Mac OS X native on the Pegasos is "point" enough for me, and I don't see how focusing FreeBSD or NetBSD would help accomplish that. Just my 5 cents.
Next year, and the year after, and when MacOS X stops being produced for Power Architecture?

Are you going to wait a year for this app to run the OS, and then just stop the next? :)

Do you still run MacOS 8.1 on your system under emulation, for example? How useful is it?

I think efforts are best placed where they are most needed. MacOS X on Pegasos is fast approaching becoming a toy.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Oct 06, 2006 3:11 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Heh...
If we follow this way of thinking, Pegasos is a toy by itself. The only operating system in production is Microsoft Windows. And this is the only operating system with non-obsolete software.
From the marketing point of view Linux is nothing. It's simply a next replica of ~15-20 years old technologies for which noone is going to pay, this is why it's freeware and opensource - it's just a crap that noone needs.


Top
   
 Post subject:
PostPosted: Sat Oct 07, 2006 11:45 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Heh...
If we follow this way of thinking, Pegasos is a toy by itself. The only operating system in production is Microsoft Windows. And this is the only operating system with non-obsolete software.
So why do you want to use MacOS X?
Quote:
From the marketing point of view Linux is nothing. It's simply a next replica of ~15-20 years old technologies for which noone is going to pay, this is why it's freeware and opensource - it's just a crap that noone needs.
You can say the same of MacOS X.

I don't see the point in spending a lot of time trying to support an OS which will be actively unsupported by the vendor in a matter of a year to 18 months, and then only on a life support machine for security updates.

Don't get me started on the developers and users; they have already started throwing away their PPC Macs for Core Dualies. Even Bill has one.

OpenDarwin is a dodo, too, so no other development of this technology is going to go on. I have no idea what happened to our machine but we got absolutely zip from these guys before they shut down. I expect it is in the trash or in a dusty closet.

Where is the marketing advantage in running MacOS X on Pegasos, that you so deride Linux for not having?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sat Oct 07, 2006 1:59 pm 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
Quote:
Even Bill has one


:shock:
Quote:
Where is the marketing advantage in running MacOS X on Pegasos, that you so deride Linux for not having?


Sonic does it for himself and for Pegasos users. Not in a marketing perspective. That's hobby stuff and you should better encourage him in doing that instead of pointing out the useless aspects of it.
So OK, the amount of Pegasos users is not that much, OK the number of Pegasos users interested in having OSX running natively on Peg is even less, OK it's pointless as a marketing thingie for Genesi, but this is not the point here. It's about a guy that is engaged in a challenge and what he will learn from it is worth the effort i think. It can't be a waste of time.

Now what does OSX does that linux doesn't on PPC ? modern browser with flash ? Skype ? and access to some amazing OSX apps for music, video production ?
Yes, only some popular stuff for users that linux can't provide yet.

Oh yeah, i'd love to use cubase SX on my Peg, work on my own music with it and claim "i made it on Pegasos". something i can't do for now. And it's only an example.
You think in terms of business/marketing only here, i think in terms of FUN !


Top
   
 Post subject:
PostPosted: Sun Oct 08, 2006 5:32 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Now what does OSX does that linux doesn't on PPC ? modern browser with flash ? Skype ? and access to some amazing OSX apps for music, video production ?
Yes, only some popular stuff for users that linux can't provide yet.
Would you reboot out of Linux or MorphOS just to run Skype?
Quote:
Oh yeah, i'd love to use cubase SX on my Peg, work on my own music with it and claim "i made it on Pegasos". something i can't do for now. And it's only an example.
You think in terms of business/marketing only here, i think in terms of FUN !
I didn't think of business/marketing, but from a project management point of view (that is what I do!) - at the end of it all you have to make a feasibility study, feature study, cost evaluation, schedule your project time, and look at the end and benefit for the customer of everything, and looking at "porting OpenDarwin", that was a good project until it slowed to treacle, Apple didn't update for 18 months, everyone quit and then they shut it down.

Running MacOS X on Pegasos was fun, exciting, useful back in 2004. We had a demonstration system at SNDF Dallas in April 2004, with MacOS running under MacOnLinux (it booted directly into it). It was interesting and intriguing to some of the visitors to the stand. We are coming up to 2007 - Apple have not got a single Power product in their line-up anymore. Eventually it will stop being released for Power, and before that, some new features and certainly optimizations will stop coming.

If you want to make a business case out of it, why not think of one for running CuBase on Linux? Or getting the Skype guys to make a Power version of their Linux client?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun Oct 08, 2006 3:22 pm 
Offline

Joined: Thu Apr 28, 2005 5:58 am
Posts: 6
Location: Poland
@Neko

many people registered PegXMac to boot directly into macosX (macos9). All of them wants to use 3d acceleration in two(three, four, ....) years old games/ apps/systemsoftware than using uptodate linux crap soft.


@Sonic
any news about project?


Top
   
 Post subject:
PostPosted: Sun Oct 08, 2006 11:13 pm 
Offline

Joined: Mon May 09, 2005 8:34 pm
Posts: 34
Location: RF
Park of PowerPC Mac's is too huge for momentary abandon this supply. Coming OSX 10.5 "Leopard" still duo-architecture-supported, and tons of application has universal binary (tm) versions.

_________________
wintel free


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 57 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group