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

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.
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post 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!
Attachments
vesa.png
You know your OS is advanced when you stop using the Intel programming guide as a reference.
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

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

Post 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()?
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post by BrightLight »

muazzam wrote:Are you calling putpixel() from drawrect()?
Yes.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
LPeter
Member
Member
Posts: 30
Joined: Wed Jan 28, 2015 7:41 am

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

Post 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.
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post 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.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

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

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

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

Post by digo_rp »

Another attempt to change my desktop, only to refresh my head e play with graphical interface.
Attachments
Graphical interface 0.0.1
Graphical interface 0.0.1
gardinirafael
Posts: 21
Joined: Mon Feb 03, 2014 12:52 pm

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

Post 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?
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

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

Post 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.
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post 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>
You know your OS is advanced when you stop using the Intel programming guide as a reference.
pikasoo
Member
Member
Posts: 30
Joined: Sun Sep 02, 2012 11:04 am
Contact:

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

Post 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
Attachments
PikaOS.png
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

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

Post 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?
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

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

Post by digo_rp »

sorry, not yet. :(
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post by BrightLight »

A new PCX image viewer. :wink:
I like how it shows the gradient properly and everything. :D
Attachments
vector pcx.png
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Post Reply