What does your OS look like? (Screen Shots..)
-
- Member
- Posts: 116
- Joined: Thu May 06, 2010 4:34 am
- Libera.chat IRC: peterbjornx
- Location: Leiden, The Netherlands
- Contact:
- BrightLight
- 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..)
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!
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What does your OS look like? (Screen Shots..)
Are you calling putpixel() from drawrect()?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!
- BrightLight
- 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..)
Yes.muazzam wrote:Are you calling putpixel() from drawrect()?
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What does your OS look like? (Screen Shots..)
As far as I know, this is not the best strategy as it can become really slow.omarrx024 wrote:Yes.muazzam wrote:Are you calling putpixel() from drawrect()?
- BrightLight
- 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..)
My color depth is not very high, so speed isn't much of a matter now.LPeter wrote:As far as I know, this is not the best strategy as it can become really slow.omarrx024 wrote:Yes.muazzam wrote:Are you calling putpixel() from drawrect()?
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What does your OS look like? (Screen Shots..)
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.omarrx024 wrote:LPeter wrote:My color depth is not very high, so speed isn't much of a matter now.
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.
Re: What does your OS look like? (Screen Shots..)
Another attempt to change my desktop, only to refresh my head e play with graphical interface.
-
- Posts: 21
- Joined: Mon Feb 03, 2014 12:52 pm
Re: What does your OS look like? (Screen Shots..)
Very cool digodigo_rp wrote:Another attempt to change my desktop, only to refresh my head e play with graphical interface.
which are the features of your operating system?
Re: What does your OS look like? (Screen Shots..)
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.
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.
- BrightLight
- 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..)
Very impressive! Do you have a website, or an online repository?digo_rp wrote:Another attempt to change my desktop, only to refresh my head e play with graphical interface.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What does your OS look like? (Screen Shots..)
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
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..)
Do you have your intelfb code online somewhere?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.
Re: What does your OS look like? (Screen Shots..)
sorry, not yet.
- BrightLight
- 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..)
A new PCX image viewer.
I like how it shows the gradient properly and everything.
I like how it shows the gradient properly and everything.
You know your OS is advanced when you stop using the Intel programming guide as a reference.