BootScreen

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
ASHLEY4

Re:BootScreen

Post by ASHLEY4 »

Thanks Clicker, @DH, its a long lonely path this OS Dev, if i can make or find something to make it a little easier, i grab it with both hands, or at lest the address of it ;-).

\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.
dh

Re:BootScreen

Post by dh »

@Ashley4: ;D
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:BootScreen

Post by bubach »

Loading and putting a 256 bmp on the screen does not take more then, maybe 0.5 seconds (In mode 13h the 256 color image takes about 64kb). Atleast not in ashleys OS.
And changing standard VGA modes can be done by changing the standard VGA registers, it should work on all computers.
I have some code on this, but i couldn't get the font-loading bit (in textmode) to work, so i dropped the coding.
Examples of this can be found in EelOS and in the Tauron VGA lib.

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
ASHLEY4

Re:BootScreen

Post by ASHLEY4 »

Loading and putting a 256 bmp on the screen does not take more then, maybe 0.5 seconds (In mode 13h the 256 color image takes about 64kb). Atleast not in ashleys OS.
And that as to switch to realmode and back to pmode for mode change ;-) .

\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.
srg_13

Re:BootScreen

Post by srg_13 »

I have some code (asm) that loads a 320x200 256 BMP image at bootup ,with asm code, let me know if anyone intrestard.
Can you post a link, or e-mail it to me??

If i put this in the ASM code before it calls my C kernel, (which takes no time to load), is there any way that I could make it appear for a set amount of time?

Or would it be better to use the asm command inside the C kernel?
ASHLEY4

Re:BootScreen

Post by ASHLEY4 »

Try here:
http://board.flatassembler.net/download.php?id=1329

\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.
srg_13

Re:BootScreen

Post by srg_13 »

I tried that, but I couldn't get it to load my kernel.

It just kept clearing the screen and loading the image again.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:BootScreen

Post by Pype.Clicker »

that doesn't surprises me since the code for loading "kernel.bin" is commented :)
ASHLEY4

Re:BootScreen

Post by ASHLEY4 »

Who needs a debuger, when Pype.Clicker on the case ;-).

\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.
srg_13

Re:BootScreen

Post by srg_13 »

Thanks, I didn't notice that

Stephen :P
Post Reply