OS Studio, An OS deving optimized IDE
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: OS Studio, An OS deving optimized IDE
I'm similar to most users here: I use a text editor, a makefile, and a few bash scripts to write and build my OS. I test it in QEMU (because it's the easiest to configure - you can just pass the required parameters on the command line) and real machines when I've completed something big and/or likely to fail on a real machine. I've also written a few C utilities to help with preparing some of the more complicated source files and with debugging on real machines (reading and writing filesystem images with my custom filesystem that doesn't yet have a Linux driver, and producing binary dumps from debugging data sent using my audio serial link debugger (as I don't have an RS232 - USB cable), to be specific).
Also I second C# as a development language for Windows (especially GUI) applications. Visual Basic may have (most of) the same features, but the style of the language is somewhat outdated and not as easy to understand as C-syntax languages (such as C# and Java), especially when adapted for object-oriented programming.
Also I second C# as a development language for Windows (especially GUI) applications. Visual Basic may have (most of) the same features, but the style of the language is somewhat outdated and not as easy to understand as C-syntax languages (such as C# and Java), especially when adapted for object-oriented programming.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: OS Studio, An OS deving optimized IDE
I'm sorry to say but it's not very likely that a lot of people will use it. The problem is that there are major IDEs that many people spent thousands of hours to implement that are very suitable for OS dev as they are.
I use Eclipse both on Windows and Mac, and it has everything you will every need. You can configure your cross compiler/OS specific toolchain so that it automatically resolves all include paths. It has full code completion, outlines & syntax check. Code versioning integration (there plugins for everything, Mercurial, Git, CVS, whatever, and it's also easy to write your own plugins). Cick-and-run your OS using the "external tools" option.
Setting up Cygwin is not hard. You need to know what you're doing - and that comes with experience. People usually don't manage to go very far when they have everything ready-to-go, you have to truly understand how your toolchain works.
Protip: Concentrate your energy on learning about your toolchain & possibly improve the information on the wiki if you get stuck somewhere.
I use Eclipse both on Windows and Mac, and it has everything you will every need. You can configure your cross compiler/OS specific toolchain so that it automatically resolves all include paths. It has full code completion, outlines & syntax check. Code versioning integration (there plugins for everything, Mercurial, Git, CVS, whatever, and it's also easy to write your own plugins). Cick-and-run your OS using the "external tools" option.
Setting up Cygwin is not hard. You need to know what you're doing - and that comes with experience. People usually don't manage to go very far when they have everything ready-to-go, you have to truly understand how your toolchain works.
Protip: Concentrate your energy on learning about your toolchain & possibly improve the information on the wiki if you get stuck somewhere.
Re: OS Studio, An OS deving optimized IDE
Have you tried the Eclipse debugger with Bochs or QEMU?max wrote:I'm sorry to say but it's not very likely that a lot of people will use it. The problem is that there are major IDEs that many people spent thousands of hours to implement that are very suitable for OS dev as they are.
I use Eclipse both on Windows and Mac, and it has everything you will every need. You can configure your cross compiler/OS specific toolchain so that it automatically resolves all include paths. It has full code completion, outlines & syntax check. Code versioning integration (there plugins for everything, Mercurial, Git, CVS, whatever, and it's also easy to write your own plugins). Cick-and-run your OS using the "external tools" option.
Setting up Cygwin is not hard. You need to know what you're doing - and that comes with experience. People usually don't manage to go very far when they have everything ready-to-go, you have to truly understand how your toolchain works.
Protip: Concentrate your energy on learning about your toolchain & possibly improve the information on the wiki if you get stuck somewhere.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: OS Studio, An OS deving optimized IDE
Ah yes, forgot to mention that, debugging works nicely by using GDB and connecting to QEMU. Didn't try with Bochs though.zenzizenzicube wrote:Have you tried the Eclipse debugger with Bochs or QEMU?
- DeezRamChips
- Member
- Posts: 132
- Joined: Fri Apr 08, 2016 5:03 am
- Location: atapio.cpp - why won't you work :(
- Contact:
Re: OS Studio, An OS deving optimized IDE
I know, I'll definatly use mineI'm sorry to say but it's not very likely that a lot of people will use it.
And while creating It, I learned how to do syntax highighting, which may be usefull in the future.
The reason I created it is that it will make my life easy when editing and building my OS.
Yeah, but they won't have to spend thousands of hours with mine xDThe problem is that there are major IDEs that many people spent thousands of hours to implement that are very suitable for OS dev as they are.
My github page: https://github.com/AlexandreRouma
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Re: OS Studio, An OS deving optimized IDE
Hmm, didn't have success with that pair recently. Do you use one of those patches available on the Internet?Max wrote:QEMU and GDB
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
- Alan Kay
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: OS Studio, An OS deving optimized IDE
Stop bragging. He was referring to the amount of time that the developers have spent making the IDEs, not the amount of time that users have to spend to set them up and/or use them.DeezRamChips wrote:Yeah, but they won't have to spend thousands of hours with mine xDThe problem is that there are major IDEs that many people spent thousands of hours to implement that are very suitable for OS dev as they are.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: OS Studio, An OS deving optimized IDE
Isn't Eclipse a Java IDE? How easily can you add support for another language, in a non-hackish way?max wrote:I use Eclipse both on Windows and Mac, and it has everything you will every need.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: OS Studio, An OS deving optimized IDE
No.onlyonemac wrote:Isn't Eclipse a Java IDE?
Re: OS Studio, An OS deving optimized IDE
Eclipse probably supports more "languages" than any other IDE ever created. Although, I haven't used it in years, it was a fairly decent alternative to Visual Studio.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Re: OS Studio, An OS deving optimized IDE
If Emacs is a kitchen sink short of a house, Eclipse is a small country. There's a plugin for anything and everything on the Eclipse Marketplace.onlyonemac wrote:Isn't Eclipse a Java IDE? How easily can you add support for another language, in a non-hackish way?max wrote:I use Eclipse both on Windows and Mac, and it has everything you will every need.
I've never written a plugin to support another language but it seems quite overcomplicated and overengineered, however someone else has probably already done it.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: OS Studio, An OS deving optimized IDE
Sure, I don't mean to discourage you - I also write a lot of tools that help me with debugging. For example I made a Java program that connects to the VM over the serial port and allows me to visually display task structures on the host etc. for debugging. There isn't really anything that does this. It makes sense to build that stuff, but for basic things like an IDE I rather stick to more advanced & complete solutions like Eclipse.DeezRamChips wrote:I know, I'll definatly use mine
And while creating It, I learned how to do syntax highighting, which may be usefull in the future.
The reason I created it is that it will make my life easy when editing and building my OS.
No, why patch it? IIRC I just built it for my target (--target=i686-ghost) and it works well. Maybe open a thread with your errors and I'll see if I can help.Roman wrote:Hmm, didn't have success with that pair recently. Do you use one of those patches available on the Internet?
True, Eclipse has support for literally anything software-related I've ever dealt with (even lots of proprietary stuff). I wrote a plugin to support syntax highlighting for my Capri script language (my interpreter-fun-project) and yes - the API is a little weird - but it's not utterly terrible.zenzizenzicube wrote:If Emacs is a kitchen sink short of a house, Eclipse is a small country. There's a plugin for anything and everything on the Eclipse Marketplace.
I've never written a plugin to support another language but it seems quite overcomplicated and overengineered, however someone else has probably already done it.
Re: OS Studio, An OS deving optimized IDE
Hadn't seen this before, it looks pretty good!DeezRamChips wrote:Anyway, here is a Screenshot of it:
Re: OS Studio, An OS deving optimized IDE
I disagree with any of "C++ is not for GUI and it needs 100000 lines of code to create simple window.".
95 percent of GUI apps you use (and OSes) are coded in C++.
Took me 300 lines of C++ and 150 lines of .RC to write a paint program for BMP which could render rectangles, lines, can inspect pixel, etc.
95 percent of GUI apps you use (and OSes) are coded in C++.
Took me 300 lines of C++ and 150 lines of .RC to write a paint program for BMP which could render rectangles, lines, can inspect pixel, etc.
- DeezRamChips
- Member
- Posts: 132
- Joined: Fri Apr 08, 2016 5:03 am
- Location: atapio.cpp - why won't you work :(
- Contact:
Re: OS Studio, An OS deving optimized IDE
ThanksHadn't seen this before, it looks pretty good!
My github page: https://github.com/AlexandreRouma
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT