Deus Legio
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Finally!

+5
Xavior
*Hule*
Xris²
Huni
Boomlala
9 posters

Page 1 of 2 1, 2  Next

Go down

Finally! Empty Finally!

Post by Boomlala Sat Dec 27, 2008 1:51 pm

It took me quite some time and a lot of bug fixing, but I managed to program video output into my own operating system. This is the first real step in OS development. Smile

Finally! Myospo4.th
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by Huni Sat Dec 27, 2008 1:56 pm

to high fo rmy brain
Huni
Huni
Member
Member

Male Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by Xris² Sat Dec 27, 2008 2:24 pm

Sure, cool I guess.
Xris²
Xris²
Elite Poster
Elite Poster

Male Number of posts : 1943
Age : 31
Registration date : 2008-06-17

Back to top Go down

Finally! Empty Re: Finally!

Post by *Hule* Sat Dec 27, 2008 2:51 pm

Don't know what the hell that is but grats anyway.
*Hule*
*Hule*
Master
Master

Male Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02

Back to top Go down

Finally! Empty Re: Finally!

Post by Xavior Sat Dec 27, 2008 2:58 pm

Neato
Xavior
Xavior
Root Admin
Root Admin

Male Number of posts : 5354
Age : 35
Registration date : 2007-12-01

Back to top Go down

Finally! Empty Re: Finally!

Post by Huni Sat Dec 27, 2008 2:59 pm

what?
Huni
Huni
Member
Member

Male Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by Boomlala Sat Dec 27, 2008 3:28 pm

Code:

// move the cursor
static void moveCursor(void)
{
   static u8int VGAC_HIGHBYTE = 14;
   static u8int VGAC_LOWBYTE = 15;

   u16int cursorLoc = monitorPos(cursor_x, cursor_y);
   write_byte(VGAC_COMMANDBUF, VGAC_HIGHBYTE);
   write_byte(VGAC_PARAMTRBUF, getHighByte(cursorLoc));
   write_byte(VGAC_COMMANDBUF, VGAC_LOWBYTE);
   write_byte(VGAC_PARAMTRBUF, getLowByte(cursorLoc));
}

Code doesn't get any sexier than this.
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by *Hule* Sat Dec 27, 2008 3:53 pm

Seeing that a code is never ever sexy, you're right.
*Hule*
*Hule*
Master
Master

Male Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02

Back to top Go down

Finally! Empty Re: Finally!

Post by Huni Sat Dec 27, 2008 3:54 pm

It has boobs?
Huni
Huni
Member
Member

Male Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by Boomlala Sat Dec 27, 2008 3:58 pm

This code is pretty sexy aswell.

Code:
// receive a color byte
static u16int getColorByte(u8int backgroundColor, u8int fontColor)
{
   return makeHighByte((backgroundColor << 4) | (fontColor & 0xF));
}
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by *Hule* Sat Dec 27, 2008 3:59 pm

Well, whatever does it for you...
*Hule*
*Hule*
Master
Master

Male Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02

Back to top Go down

Finally! Empty Re: Finally!

Post by Huni Sat Dec 27, 2008 4:00 pm

ok. I guess!
Huni
Huni
Member
Member

Male Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by lone Sun Dec 28, 2008 3:14 am

this code is the hottest ever
Code:
SEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXY

lone
Admin
Admin

Male Number of posts : 4297
Location : belgium, no really
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by Xavior Sun Dec 28, 2008 9:06 am

This one was neat for me

Code:
var lineoffset;
lineoffset = 0;
myText = text.sourceText;
cc = text.animator("Animator 1").selector("Range Selector 1").start;
cc = linear(cc,0,100,0,myText.length)
for(i=0; i<cc; i++){
if(myText.charCodeAt(i)==13)lineoffset++;
}

nlo = effect("New Line Offset")("Slider");
[value[0], value[1]-(lineoffset*nlo)]

x = 0;
y = thisComp.layer("Terminal").transform.position.valueAtTime(0)[1];
[x,y];

x = -(thisComp.width / 2);
y = content("Rectangle 1").content("Rectangle Path 1").size[1] / 2;
[x,y]

ttf = timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false);

if(ttf%2==0) 100 else 80;
Xavior
Xavior
Root Admin
Root Admin

Male Number of posts : 5354
Age : 35
Registration date : 2007-12-01

Back to top Go down

Finally! Empty Re: Finally!

Post by Xris² Sun Dec 28, 2008 10:37 am

It's nice that you enjoy it boom, but would you mind explaining to us what the f u c k that is?
Xris²
Xris²
Elite Poster
Elite Poster

Male Number of posts : 1943
Age : 31
Registration date : 2008-06-17

Back to top Go down

Finally! Empty Re: Finally!

Post by Boomlala Sun Dec 28, 2008 10:51 am

What what is?

What you see in the pic, or my sexy code?
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by Xris² Sun Dec 28, 2008 3:23 pm

Both.
Xris²
Xris²
Elite Poster
Elite Poster

Male Number of posts : 1943
Age : 31
Registration date : 2008-06-17

Back to top Go down

Finally! Empty Re: Finally!

Post by Boomlala Sun Dec 28, 2008 3:28 pm

In my pic, you see my very own OS. (An OS is a program like Windows, Macintosh, Linux, ...) Currently it can only manage video text output.

The first code box contains my moveCursor function, which moves the cursor (the blinking underscore) to a designated spot on the framebuffer (the video memory block).

The second code box contains a function which produces an attribute flag of 16 bits out of a backgroundcolor byte and a fontcolor byte. When this attribute flag is applied to another 16 bit symbol flag, you get a 32 bit value which can be placed on the framebuffer.
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by Gäst Sun Dec 28, 2008 4:17 pm

GJ almost better microsoft >Smile

Gäst
Guest


Back to top Go down

Finally! Empty Re: Finally!

Post by Huni Mon Dec 29, 2008 2:48 am

erm...I guess its ok.
Huni
Huni
Member
Member

Male Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07

Back to top Go down

Finally! Empty Re: Finally!

Post by Shadman Mon Dec 29, 2008 10:27 am

Boomlala wrote:It took me quite some time and a lot of bug fixing, but I managed to program video output into my own operating system. This is the first real step in OS development. Smile

Finally! Myospo4.th

Youre 16 and doing this shit?
Shadman
Shadman
Member
Member

Male Number of posts : 1923
Age : 33
Location : Hell-----Oh
Registration date : 2007-12-05

Back to top Go down

Finally! Empty Re: Finally!

Post by Xris² Mon Dec 29, 2008 10:46 am

Everybody has different hobbies.
Xris²
Xris²
Elite Poster
Elite Poster

Male Number of posts : 1943
Age : 31
Registration date : 2008-06-17

Back to top Go down

Finally! Empty Re: Finally!

Post by Crow Mon Dec 29, 2008 12:19 pm

It took a shitload of time to load it, and now there is even shit inside! WTF!
Crow
Crow
Master
Master

Male Number of posts : 3749
Age : 34
Location : The Netherlands
Registration date : 2007-12-26

Back to top Go down

Finally! Empty Re: Finally!

Post by Boomlala Mon Dec 29, 2008 1:54 pm

@Shadman: yes, obviously.

@Crow: what?
Boomlala
Boomlala
I have no life
I have no life

Male Number of posts : 7781
Age : 32
Location : Belgium
Registration date : 2008-06-01

http://devnucleus.110mb.com

Back to top Go down

Finally! Empty Re: Finally!

Post by Crow Mon Dec 29, 2008 4:15 pm

Translated in proper English:
It took a large amount of minutes to load the picture that you have uploaded.
And I did not even understand what was on that picture.
Crow
Crow
Master
Master

Male Number of posts : 3749
Age : 34
Location : The Netherlands
Registration date : 2007-12-26

Back to top Go down

Finally! Empty Re: Finally!

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum