OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 10:00 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: AHCI Port COMRESET ( & How to handle PortConnectChange I
PostPosted: Mon Jul 25, 2022 5:29 pm 
Offline
Member
Member

Joined: Fri Feb 11, 2022 4:55 am
Posts: 435
Location: behind the keyboard
Thanks, However I don't really see why people are still creating 32 bit kernels and all modern pc's support 64 bit. You can include alot of optimizations in 64 Bit mode.


Top
 Profile  
 
 Post subject: Re: AHCI Port COMRESET ( & How to handle PortConnectChange I
PostPosted: Mon Jul 25, 2022 6:08 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
I can't speak for anyone else, but my target is not modern PCs. :wink:


Top
 Profile  
 
 Post subject: Re: AHCI Port COMRESET ( & How to handle PortConnectChange I
PostPosted: Wed Jul 27, 2022 9:57 am 
Offline
Member
Member

Joined: Fri Feb 11, 2022 4:55 am
Posts: 435
Location: behind the keyboard
Yeah maybe old hardware is easier, I started working on my kernel (and O.S) a year ago and I do not have a GUI until now, I need to finish the essential drivers first and I have alot remaining (General Graphics Driver (for composition, and 3D), Window Manager, OHCI, UHCI, XHCI, IDE, CDROM, NVMe (Maybe)), I will also try to complete VMSVGA Driver to get an idea on GPU's and what they facilitate.


Top
 Profile  
 
 Post subject: Re: AHCI Port COMRESET ( & How to handle PortConnectChange I
PostPosted: Wed Jul 27, 2022 10:47 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
I agree with Octo here. There's nothing like seeing your OS boot up on a very old computer, than watching it boot up on a high end server.

devc1 wrote:
Yeah maybe old hardware is easier

That actually depends. Some hardware is difficult these days (such as USB and ACPI), but most old hardware is heavily burden by backwards compatibility (look at the ISA Floppy). For another example, working with video hardware was a pain back in the days of 16 bpp, planed framebuffers.
New hardware has a lot of features and is very extensible. That honestly helps avoid the complexity of old hardware, while adding in its own kind of complexity :lol: .

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: AHCI Port COMRESET ( & How to handle PortConnectChange I
PostPosted: Wed Aug 10, 2022 2:14 pm 
Offline
Member
Member

Joined: Fri Feb 11, 2022 4:55 am
Posts: 435
Location: behind the keyboard
Thank you all for your support! The AHCI Command Queuing worked perfectly, and my new scheduler was highly optimized that it recorded (4-5 us on my laptop, 12-15 us on QEMU) Latency per Task Schedule (Measured with HPET). Reading 100MB of the disk in QEMU is almost instant and in my second laptop with an old HDD, it took over 500MB/S (Edit : without printing each command (in Slow FrameBuffer) 500 MB took 1 Second) . However, creating that scheduler was very boring that I almost used every (XMM, FPR (MM0-MM7), General Purpose) Register lol !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 69 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group