Craze Frog wrote:Combuster wrote:Craze Frog wrote:However, I think FreeBasic isn't a very good basic, because it has a very C-like feel to it. It's not really BASIC, it's C with BASIC syntax (and in some cases, C syntax).
If its a C dialect, it should be trivial to translate this to C for me. Show us, will you.
Ok, so over-exaggerated. What you're doing here is to use some library functions that will not be present for OS-dev. There is no reason for me to start listing code here. Just look at the FreeBASIC documentation to see all the C features. Type names, preprocessor directives, operator syntax and semantics, pointer syntax and semantics. And FreeBASIC lacks the no-hassle it-just-works comfort that is the trademark of BASIC. You have to install the compiler, libraries and a very sparsly integrated IDE separately. This is not the BASIC style.
When I think BASIC, I think of two types: Basic BASIC (hehe) and Advanced BASIC. Things like QBasic, C64 BASIC, Applesoft BASIC, and so forth fit under Basic BASIC. Under the Advanced BASIC we have the full QuickBASIC (has more features than QBasic), FreeBASIC, VB (blech), and BlitzMax.
I guess you could say that Basic BASIC is the simple stuff like unstructured, minimal structures, and procedural BASICS, while Advanced BASIC is like BASIC with elements of C, C++, and stuff like object-oriented programming and OpenGL functions etc.
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex