Page 127 of 262

Re: What does your OS look like? (Screen Shots..)

Posted: Sun Mar 29, 2015 4:51 pm
by Peterbjornx
Image

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 3:02 am
by BrightLight
It's been a long time since I posted here. I've worked on fixing bugs in my putpixel() and drawrect() functions for VESA, and here it is!

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 4:32 am
by Muazzam
omarrx024 wrote:It's been a long time since I posted here. I've worked on fixing bugs in my putpixel() and drawrect() functions for VESA, and here it is!
Are you calling putpixel() from drawrect()?

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 6:48 am
by BrightLight
muazzam wrote:Are you calling putpixel() from drawrect()?
Yes.

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 9:11 am
by LPeter
omarrx024 wrote:
muazzam wrote:Are you calling putpixel() from drawrect()?
Yes.
As far as I know, this is not the best strategy as it can become really slow.

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 1:57 pm
by BrightLight
LPeter wrote:
omarrx024 wrote:
muazzam wrote:Are you calling putpixel() from drawrect()?
Yes.
As far as I know, this is not the best strategy as it can become really slow.
My color depth is not very high, so speed isn't much of a matter now.

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 3:09 pm
by Brendan
omarrx024 wrote:
LPeter wrote:My color depth is not very high, so speed isn't much of a matter now.
The colour depth makes no difference - it's the resolution or size of the rectangle that matters. For example, with a 1000*500 rectangle, with "putpixel" for every pixel you calculate the address of a pixel 500000 times, which adds up to 500000 multiplications that could've/should've been avoided. It also means that your writes are "one pixel only" which is worse for performance.

Alternatively, you can calculate the address for the top left pixel only, then use something like "memset()" or "rep stosb" (or something optimised to use the least number of larger writes) to do the entire first row of pixels; then do "row_start += bytes_between_lines" to find the next row (and the next and so on until you've done all rows of the rectangle). Depending on a lot of things it can easily be 100 times faster.


Cheers,

Brendan

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 5:14 pm
by digo_rp
Another attempt to change my desktop, only to refresh my head e play with graphical interface.

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 7:58 pm
by gardinirafael
digo_rp wrote:Another attempt to change my desktop, only to refresh my head e play with graphical interface.
Very cool digo

which are the features of your operating system?

Re: What does your OS look like? (Screen Shots..)

Posted: Wed Apr 01, 2015 8:05 pm
by digo_rp
Hardware cursor for some VGA PCI CARD. Intelframe buffer, and Cirrus Logic.
Ring3, Paging, Full VM86 bios int. int 13h, int 16h, Fat32 with some functions read and write. MMX memcpy, memset, and other acelerations functions for VGA.

Sorry for my poor english.

Re: What does your OS look like? (Screen Shots..)

Posted: Thu Apr 02, 2015 3:38 am
by BrightLight
digo_rp wrote:Another attempt to change my desktop, only to refresh my head e play with graphical interface.
Very impressive! Do you have a website, or an online repository? =D>

Re: What does your OS look like? (Screen Shots..)

Posted: Thu Apr 02, 2015 1:12 pm
by pikasoo
My latess addon to my OS, a pascal interpreter built in the kernel. all coded in asm just for the hell of it !
Now i can run .pas file just like an executable, i still have a few thing to add like uses unit and floating point

Re: What does your OS look like? (Screen Shots..)

Posted: Thu Apr 02, 2015 1:29 pm
by Candy
digo_rp wrote:Hardware cursor for some VGA PCI CARD. Intelframe buffer, and Cirrus Logic.
Ring3, Paging, Full VM86 bios int. int 13h, int 16h, Fat32 with some functions read and write. MMX memcpy, memset, and other acelerations functions for VGA.

Sorry for my poor english.
Do you have your intelfb code online somewhere?

Re: What does your OS look like? (Screen Shots..)

Posted: Thu Apr 02, 2015 3:33 pm
by digo_rp
sorry, not yet. :(

Re: What does your OS look like? (Screen Shots..)

Posted: Fri Apr 03, 2015 1:45 pm
by BrightLight
A new PCX image viewer. :wink:
I like how it shows the gradient properly and everything. :D