vga initialisation

hello,
I am writing an IPl,startup for an x86 custom board.
I am able to boot , ie from serial port of host i am able to send image
file to target & boot the os on target. Now i want to send the image thro
serial port & boot the image on target & get the o/p on Console.What are
the initialisations i need to do in IPl or startup.Can anybody send me the
code sample for this.
TIA

Dev <ruxyz@yahool.com> wrote:

hello,
I am writing an IPl,startup for an x86 custom board.
I am able to boot , ie from serial port of host i am able to send image
file to target & boot the os on target. Now i want to send the image thro
serial port & boot the image on target & get the o/p on Console.What are
the initialisations i need to do in IPl or startup.Can anybody send me the
code sample for this.

If the system has a VGA BIOS, you could execute the BIOS warm boot
sequence (while in real mode) by calling c000:3.

If the system does not have a VGA BIOS, then the initialization is
chip-specific (I’d expect it to be a lot of work to initialize a VGA
chip and get it running in text mode).

TIA

Hello David ,
Thanks for the reply.The system does not have a Bios, The chipset we are
using is ATI radeon m6. I want only text mode. Can i get any generic
source for VGA & will it work?
Assuming if i get the chipset details where do i need the modifications in
IPL or Startup.




David Donohoe wrote:

Dev <> ruxyz@yahool.com> > wrote:
hello,
I am writing an IPl,startup for an x86 custom board.
I am able to boot , ie from serial port of host i am able to send image
file to target & boot the os on target. Now i want to send the image thro
serial port & boot the image on target & get the o/p on Console.What are
the initialisations i need to do in IPl or startup.Can anybody send me the
code sample for this.

If the system has a VGA BIOS, you could execute the BIOS warm boot
sequence (while in real mode) by calling c000:3.

If the system does not have a VGA BIOS, then the initialization is
chip-specific (I’d expect it to be a lot of work to initialize a VGA
chip and get it running in text mode).

TIA

dev <ruxyz@yahoo.com> wrote:

Hello David ,
Thanks for the reply.The system does not have a Bios, The chipset we are
using is ATI radeon m6. I want only text mode. Can i get any generic
source for VGA & will it work?
Assuming if i get the chipset details where do i need the modifications in
IPL or Startup.

I know it doesn’t have a system BIOS (otherwise, you wouldn’t need to
write your own IPL :slight_smile: but does the Radeon card have a ROM chip?
In other words, does you see a VGA BIOS at physical address 0xc0000?
If you do, you should be able to call 0xc000:3 when in real mode, to
intialize the chip.

Otherwise, no, there is no way to do generic VGA chip initialization,
and you would need to get the documentation from ATI.

Dave

David Donohoe wrote:

Dev <> ruxyz@yahool.com> > wrote:
hello,
I am writing an IPl,startup for an x86 custom board.
I am able to boot , ie from serial port of host i am able to send image
file to target & boot the os on target. Now i want to send the image thro
serial port & boot the image on target & get the o/p on Console.What are
the initialisations i need to do in IPl or startup.Can anybody send me the
code sample for this.

If the system has a VGA BIOS, you could execute the BIOS warm boot
sequence (while in real mode) by calling c000:3.

If the system does not have a VGA BIOS, then the initialization is
chip-specific (I’d expect it to be a lot of work to initialize a VGA
chip and get it running in text mode).

TIA