Finally!
+5
Xavior
*Hule*
Xris²
Huni
Boomlala
9 posters
Deus Legio :: General Board :: Your Life
Page 1 of 2
Page 1 of 2 • 1, 2
Finally!
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.
Re: Finally!
to high fo rmy brain
Huni- Member
- Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07
Re: Finally!
Sure, cool I guess.
Xris²- Elite Poster
- Number of posts : 1943
Age : 31
Registration date : 2008-06-17
Re: Finally!
Don't know what the hell that is but grats anyway.
*Hule*- Master
- Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02
Re: Finally!
what?
Huni- Member
- Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07
Re: Finally!
- 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.
Re: Finally!
Seeing that a code is never ever sexy, you're right.
*Hule*- Master
- Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02
Re: Finally!
It has boobs?
Huni- Member
- Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07
Re: Finally!
This code is pretty sexy aswell.
- Code:
// receive a color byte
static u16int getColorByte(u8int backgroundColor, u8int fontColor)
{
return makeHighByte((backgroundColor << 4) | (fontColor & 0xF));
}
Re: Finally!
Well, whatever does it for you...
*Hule*- Master
- Number of posts : 8809
Age : 32
Location : Kakariko Village.
Registration date : 2007-12-02
Re: Finally!
ok. I guess!
Huni- Member
- Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07
Re: Finally!
this code is the hottest ever
- Code:
SEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXYSEXY
lone- Admin
- Number of posts : 4297
Location : belgium, no really
Registration date : 2007-12-07
Re: Finally!
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- Root Admin
- Number of posts : 5354
Age : 35
Registration date : 2007-12-01
Re: Finally!
It's nice that you enjoy it boom, but would you mind explaining to us what the f u c k that is?
Xris²- Elite Poster
- Number of posts : 1943
Age : 31
Registration date : 2008-06-17
Re: Finally!
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.
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.
Re: Finally!
erm...I guess its ok.
Huni- Member
- Number of posts : 7436
Age : 31
Location : Transilvania, Old Hungary
Registration date : 2007-12-07
Re: Finally!
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.
Youre 16 and doing this shit?
Shadman- Member
- Number of posts : 1923
Age : 33
Location : Hell-----Oh
Registration date : 2007-12-05
Re: Finally!
Everybody has different hobbies.
Xris²- Elite Poster
- Number of posts : 1943
Age : 31
Registration date : 2008-06-17
Re: Finally!
It took a shitload of time to load it, and now there is even shit inside! WTF!
Crow- Master
- Number of posts : 3749
Age : 34
Location : The Netherlands
Registration date : 2007-12-26
Re: Finally!
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.
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- Master
- Number of posts : 3749
Age : 34
Location : The Netherlands
Registration date : 2007-12-26
Page 1 of 2 • 1, 2
Deus Legio :: General Board :: Your Life
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum
|
|