Showing posts with label cg6. Show all posts
Showing posts with label cg6. Show all posts
Sunday, December 23, 2018
Sunday, December 9, 2018
The splash screen is done, next level
After some improvements to the cgsix emulation the boot splash screen is finally looking good:
On the screen above there is only one thing missing: the cursor. Unlike cgthree, the cgsix graphic adapter has hardware cursor, which I haven't implemented yet.
Well, the hardware cursor is not the only thing which is not yet implemented in general. The next screen is not as good:
/stay tuned
![]() |
| cgsix under sun4m |
Well, the hardware cursor is not the only thing which is not yet implemented in general. The next screen is not as good:
![]() |
| The freedom statue is looking at Solaris install process |
/stay tuned
Sunday, December 2, 2018
Meanwhiile in sun4m
Debugging when a program does something unexpected is easy. You just have to find the place where it starts doing it and find out the reason.
In my case though, the problem is that Solaris doesn't change the color map. But where and when is it supposed to update it? Tricky.
And then I thought: why don't I try it under sun4m? And tell you what. I've got a good and a bad news. The good news is that the RAMDAC emulation does work ok:
The bad news is that the reason why it doesn't perform somewhere near it when running on a sun4u is still to be found. My current educated guess is that it has to do with the interrupt processing...
Don't know yet what I'm going to attack next: fix the interrupts under sun4u, or improve some missing graphic features under sun4m. The latter has an advantage of producing some nice or ugly screen shots, and everyone likes screen shots. :-)
In my case though, the problem is that Solaris doesn't change the color map. But where and when is it supposed to update it? Tricky.
And then I thought: why don't I try it under sun4m? And tell you what. I've got a good and a bad news. The good news is that the RAMDAC emulation does work ok:
![]() |
| cg6 under sun4m |
Don't know yet what I'm going to attack next: fix the interrupts under sun4u, or improve some missing graphic features under sun4m. The latter has an advantage of producing some nice or ugly screen shots, and everyone likes screen shots. :-)
Sunday, November 25, 2018
Sunday, November 18, 2018
The moment you see the endianess is wrong
Think I fixed one bug, but this way I loose the half tones. And the endianness is definitely wrong:
Above I treat the bytes as pixels. The endianness is definitely wrong. Fixing the endianness the picture gets better:
Not sure if the bit order in the byte is correct. And no idea why it's so contrast and monochrome. Treating the bits as pixels with the proper endianness the picture looks more interesting:
The result must be somewhere in between the two above... But I'm think I'm done for this weekend.
![]() |
| The endianness is wrong |
![]() |
| The endianness is correct |
![]() |
| As if a bit were a pixel |
The result must be somewhere in between the two above... But I'm think I'm done for this weekend.
Saturday, November 17, 2018
Sunday, November 11, 2018
Fixed the cgsix colormap
Looks like
the cgsix DAC is slightly different from the one used in cgthree. Fixed it and
now the image doesn’t look so psychedelic anymore:
Now, that was
the easy part. Making it work under OpenWindows is going to be trickier. There is
virtually no documentation on the GPU. I guess this manual is really lost: as
Sun tried to open the specs back in 2008, they failed with “Unable to locate
(15-July-08)” message.
Does anyone
by any chance have the book “TurboGX Reference Card” (p/n 800-5112) or any other document which describes how to program the TEC and FBC units of the TGX chip?
Saturday, November 10, 2018
Subscribe to:
Posts (Atom)










