Write Your Own 64-bit Operating System Kernel #1 - Boot code and multiboot header
In this series, we'll write our own 64-bit x86 operating system kernel from scratch, which will be multiboot2-compliant. In future episodes we might expand out to other architectures and bootloaders.
In this first episode, we write our initial boot code and also include a multiboot2 header so that it can be understood by bootloaders.
This operating system will be primarily written in C, but we'll need some assembly as well for any of the hardware-specific code.
All the code will be available on GitHub in a few hours: COME BACK IN A FEW HOURS
Thanks to top Patreon supporters Helge Sverre Hessevik Liseth and Kaas at the time of uploading this video!
In this episode we add quite a few built-in functions to our language, including print, input, clear, type checking, and list operations. You may add plenty more, such as string operations, math functions, random number generators and more!
Feel free to leave a comment if you have any problems, and don't forget to like if you enjoyed :) In the next episode we'll be adding multiline statements!
LINKS
Python3 - https://www.python.org/downloads/
This series is loosely based on https://ruslanspivak.com/lsbasi-part1/
ALL CODE IS ON GITHUB
...
https://www.youtube.com/watch?v=1k_N0oUOpjY
Welcome back to the second last episode in this series where we create our own programming language from scratch.
In this video we add the very import return, continue and break statements to functions and loops!
Secret feature: RETURN outside of a function ends the program :)
In the next and final episode we will be adding in the RUN function to execute code from files. We'll also go back over everything we've created in this series, and then it' finished
Thanks the my Patreon supporters at the time of uploading this video:
- Daniel Munch
...
https://www.youtube.com/watch?v=uccr-hbp9KQ
In this video, I'll show you the top programming languages for DeFi and Dapp developers going into 2022, including Solidity, HTML, CSS and JavaScript.
If you've learn something from this video, don't forget to leave a like. Feel free to leave a comment if you have any questions or suggestions!
Special thanks to the Patreon supports who help to make these videos possible.
...
https://www.youtube.com/watch?v=MKj7-w0l3zA
In this tutorial I will show you how to get the Mac-OS Mojave dynamic wallpapers for any version of Windows! It is very easy to set-up.
Step 1 - Download and install python 2.7
https://www.python.org/downloads/release/python-2715/
Step 2 - Download PyWallpiper
Download here: https://www.mediafire.com/file/n427xh7q1gyf2ul/PyWallpiper.zip/file
Afterwards right click the file and tap "extract all"
Step 3 - Link PyWallpiper with Python
...
https://www.youtube.com/watch?v=qfg8yPRP9EE
In the second part of this short series, we create the parser, which transforms the tokens we generated in the last episode into a program tree. Our parser analyzes the sequence of tokens and takes into account the order of operations of different operators. For example, multiplication and division have a higher precedence to addition and subtraction.
...
https://www.youtube.com/watch?v=TwKWUj033vY
In the second episode of this series, we setup a basic stack, enable long mode, setup basic paging, and write some C code that prints any text onto the screen.
All the code is available on GitHub:
https://github.com/davidcallanan/yt-os-series/tree/ep2
Consider becoming a Patreon supporter below if you'd like me to continue to spend time creating these videos:
https://patreon.com/CodePulse
Thanks to the Patreon supporters since last episode: Helge Sverre Hessevik Liseth, Kaas, D L, Fernando Muinos
---
Useful resources (in no particular order):
https://wiki.osdev.org/
First edition: https://os.phil-opp.com/edition-1/
Latest edition: https://os.phil-opp.com/
https://en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI
http://www.osdever.net/bkerndev/Docs/creatingmain.htm
And some youtube videos such as:
https://www.youtube.com/watch?v=rr-9w2gITDM
https://www.youtube.com/watch?v=Lke3QOytgcQ&list=PLmlvkUN3-1MNKwINqdCDtTdNDjfBmWcZA
https://www.youtube.com/watch?v=9GDX-IyZ_C8
...
https://www.youtube.com/watch?v=wz9CZBeXR6U
https://brev.life (Official Site)
As my first crypto project, I created my own token called BREV which aims to get revenge on Bogdanoff. The idea is that Bogdanoff cannot dump this token, and so we'll safely go to the moon! (Yes, this is a meme token in case you couldn't tell).
I'm working on some other cool crypto projects, so stay tuned for that. (Although it will probably be some time next year before they are ready).
Timestamps:
00:00 - Introduction
00:31 - What is this token?
01:03 - How to use the website?
04:20 - How does this token work?
05:04 - Outro
...
https://www.youtube.com/watch?v=t0jODKKlxyE
Hello and welcome to the third episode on how to create your VERY OWN programming language in Python.
In this episode we create the interpreter, which traverses the tree we built up in the last video and executes the appropriate code. By the end of this video our simple expression interpreter is complete, supporting ints, floats, simple operations and parentheses.
In the next episode we will be adding variables to our language, and then in the future episodes we will be adding more language features such as IF statements, functions, strings, lists and more.
If you have any questions or problems, don't hesitate to leave a comment below! And don't forget to leave a like if you enjoy the video :)
LINKS
...
https://www.youtube.com/watch?v=YYvBy0vqcSw
Hello and welcome to the second episode on how to create your VERY OWN programming language in Python.
In the first three videos we will be focusing on adding support numbers and operators. After that we will expand our language to support the rest of the language features, such as strings, variables, if statements, for statements and functions.
In this second episode we create the parser, which takes in the tokens created by the lexer and builds up what we call an abstract syntax tree, which is basically a tree of the structure of the code. We can then traverse that tree in the next video and interpret it.
If you have any questions or problems, don't hesitate to leave a comment below! And don't forget to leave a like if you enjoy the video :)
LINKS
...
https://www.youtube.com/watch?v=RriZ4q4z9gU