If you have a graphic display you see some sort of logo in OpenBoot immediately after a reset or when you run the banner command. With most systems, you see a spiffy multicolor logo generated by a routine on the video card. But if you have a low-rent video card you just see a plain monochrome Sun logo. In either case, you can override the logo with your own logo but you are limited to a 64 by 64 black and white logo. I decided to give it a try but I found that it was not easy figuring out how to load that logo into OpenBoot. The eeprom command can do it, but the needed format was not documented anywhere. But I peeked at the source code on the Open Solaris web site and figured out what it needed. I see that Solaris has some ImageMagick stuff available and that helps a lot. So here is my script to load a logo. You need a 64 by 64 .bmp file for input. Then just feed that bmp file into my script which I call bmploader...
It takes a single argument which is the name of the bmp file. And you can have a -r flag to flip all the bits for a reverse video effect. The 64 by 64 monochrome restriction means that you can't do the Mona Lisa or anything. But it's still fun to play with.
I'm trying to configure Ultra 5 workstation to be accessed by Win HyperTerminal.
I make this change on open boot :
setenv input-device ttya
setenv output-device ttya
boot
After that, I can't acess by HyperTerminal and the keyboard / monitor don't work anymore.
Anyone... (2 Replies)
I am using a SunBlade 100 system and accidently set a new alias for keyboard, now when it start it gives the following error,
The selected input device has no read routine. Keyboard not present using ttya for input and output.
Now i cannot execute any commands on the OBP and i just gets... (3 Replies)
Hi,
I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices
Thanks a lot and sorry for my english! (11 Replies)
Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Hello,
Is it possible to go to the openboot promt on a solaris VM on vmware or virtualbox? Please advise.. (1 Reply)
Discussion started by: lubu
1 Replies
LEARN ABOUT SUSE
draw_character_ex
draw_character_ex(3alleg4) Allegro manual draw_character_ex(3alleg4)NAME
draw_character_ex - Draws non transparent pixels of the sprite with a color. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void draw_character_ex(BITMAP *bmp, BITMAP *sprite, int x, int y, color, bg);
DESCRIPTION
Draws a copy of the sprite bitmap onto the destination bitmap at the specified position, drawing transparent pixels in the background color
(or skipping them if the background color is -1) and setting all other pixels to the specified color. Transparent pixels are marked by a
zero in 256-color modes or bright pink for truecolor data (maximum red and blue, zero green). The sprite must be an 8-bit image, even if
the destination is a truecolor bitmap. Example:
BITMAP *logo;
...
/* Draw the logo silhouette in red. */
draw_character_ex(screen, logo, SCREEN_W / 2, SCREEN_H / 2,
makecol(255, 0, 0), -1);
SEE ALSO draw_sprite(3alleg4), bitmap_mask_color(3alleg4)Allegro version 4.4.2 draw_character_ex(3alleg4)