Advertisement Β· 728 Γ— 90

Posts by Mark

building my own OS in c++ (week 115, kernel threads)
building my own OS in c++ (week 115, kernel threads) #livecoding #operatingsystem #coding πŸ‘‰Get Rust training from Let’s Get Rusty: https://letsgetrusty.com/start-with-markwelcome: https://offlinemark.com/welco...

week 115, streaming kernel dev right now

topic: kernel threads

continue with properly cleaning up task stacks at the end of a task lifetime, probably implementing some kind of deferred task cleanup

see ya πŸ‘‹

youtube.com/live/eFS0hb...

1 week ago 1 0 0 0
building my own OS in c++ (week 113, kernel threads)
building my own OS in c++ (week 113, kernel threads) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 114, streaming kernel dev right now

topic: scheduling

working more on scheduler stuff -> idle task, scheduling policies, mapping the stack, etc

see ya πŸ‘‹

youtube.com/live/ap76Lb...

2 weeks ago 0 0 0 0
building my own operating system in c++ (week 112, kernel threads)
building my own operating system in c++ (week 112, kernel threads) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 113, streaming kernel dev right now

topic: kernel threads

continuing with scheduling/kernel threads, working on thread exit, an idle task, and properly mapping stacks instead of using the physmap

see ya πŸ‘‹

youtube.com/live/DM13pq...

3 weeks ago 1 0 0 0
building my own operating system in c++ (week 111, kernel threads)
building my own operating system in c++ (week 111, kernel threads) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 112, streaming kernel dev right now

topic: scheduling

continue on scheduling, refactoring the yield path with an idea to remove the global scratch buffer. and then creating an api to allow tasks to exit

see ya πŸ‘‹

youtube.com/live/Jtw6fD...

4 weeks ago 0 0 0 0
building my own operating system in c++ (week 110, kernel threads)
building my own operating system in c++ (week 110, kernel threads) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 111, streaming kernel dev right now

topic: kernel threads (cooperative)

continuing with scheduler work today, will fix some interrupt-safety topics and generally continue this line of work

see ya πŸ‘‹

youtube.com/live/VRukq7...

1 month ago 0 1 0 0
building my own operating system in c++ (week 108, kernel threads)
building my own operating system in c++ (week 108, kernel threads) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 109, streaming kernel dev right now

topic: kernel threads (cooperative)

last week, we started a basic scheduler/thread implementation and got a single kernel thread running. going to work on switching between threads today

see ya πŸ‘‹

youtube.com/live/wWDHk4...

1 month ago 0 0 0 0
building my own operating system in c++ (week 103, x86_64 interrupts)
building my own operating system in c++ (week 103, x86_64 interrupts) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 104, streaming kernel dev right now

topic: x86_64 interrupts

last week we started interrupts and got the most basic divide by zero exception handler working. will continue and flesh it out with a trap frame and handling it in c++

see ya πŸ‘‹

youtube.com/live/h6HwJD...

2 months ago 1 0 0 0
building my own operating system in c++ (week 102, virtual memory)
building my own operating system in c++ (week 102, virtual memory) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 103, streaming kernel dev right now

topic: x86_64 interrupts

i'm moving on to setting up interrupts. i already did this before on JOS, but now will revisit it on 64 bit to learn how that differs, including new concepts like the IST

see ya πŸ‘‹

youtube.com/live/vVzgOE...

3 months ago 0 0 0 0
Advertisement
building my own operating system in c++ (week 101, virtual memory)
building my own operating system in c++ (week 101, virtual memory) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 102, streaming kernel dev right now

topic: virtual memory

last week we got the kernel running on its own page tables for the first time. will continue with fleshing out the kernel's virtual address space

see ya πŸ‘‹

youtube.com/live/iJMQcC...

3 months ago 0 0 0 0
building my own operating system in c++ (week 101, virtual memory)
building my own operating system in c++ (week 101, virtual memory) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 101, streaming kernel dev right now

topic: virtual memory

last week we got vm unmap started. might continue with this, but also might sanity check that basic mappings work within qemu. haven't done that yet, we have only used the unit tests so far

see ya πŸ‘‹

youtube.com/live/_PH6kF...

3 months ago 0 0 0 0
building my own operating system in c++ (week 100!, virtual memory)
building my own operating system in c++ (week 100!, virtual memory) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 100! streaming kernel dev

topic: virtual memory unmap

continuing with virtual memory, i start working on a function to unmap pages from an address space. tried using a TDD approach which worked well!

prerecorded since I'm at #39c3!

see ya πŸ‘‹

www.youtube.com/watch?v=rqp...

3 months ago 1 0 0 0
building my own operating system in c++ (week 98, virtual memory)
building my own operating system in c++ (week 98, virtual memory) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 99, streaming kernel dev right now

topic: virtual memory

last week we started implementing support for mapping memory using page tables, along with a basic unit test. will continue with this this week!

see ya πŸ‘‹

youtube.com/live/J63PmB...

4 months ago 2 0 0 0
building my own operating system in c++ (week 97, page tables)
building my own operating system in c++ (week 97, page tables) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 98, streaming kernel dev right now

topic: virtual memory

last week, we got the page table code harnessed and runnable in a unit test. still not sure that's a good idea, but will continue with implementing virtual memory

see ya πŸ‘‹

youtube.com/live/3sWoM-...

4 months ago 1 0 0 0
building my own operating system in c++ (week 93, page tables)
building my own operating system in c++ (week 93, page tables) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/P6zQBsD2ngWelcome!I’...

week 97, streaming kernel dev right now

topic: virt mem/page tables

continuing with virtual memory/page tables. i'm interested to see to what extent I can make my page table code unit testable, will give this a try

see ya πŸ‘‹

youtube.com/live/xJAo_p...

4 months ago 0 0 0 0
Raspberry Pi Compute Module is the brain of Ableton Move
Raspberry Pi Compute Module is the brain of Ableton Move Raspberry Pi Compute Module is the brain of Ableton Move, allowing anyone to make and perform musicFind out more about Ableton Move at https://www.ableton.co...

I was interviewed by @Raspberry_Pi for my dayjob embedded systems work at @Ableton!

It's about Ableton Move, which is our portable device for making music. It's powered by a Raspberry Pi Compute Module, which has been great to work with :)

Check it out:
www.youtube.com/watch?v=G85...

4 months ago 5 0 0 0
Advertisement
building my own operating system in c++ (week 96, page tables)
building my own operating system in c++ (week 96, page tables) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’...

week 96, streaming kernel dev

topic: page tables

got started on a simple virt address class that makes it easier to extract the bits needed for page table indexing. will be useful for doing page table walks

(prerecorded since I'm away)

see ya πŸ‘‹

youtu.be/LRZ40QCKUno...

4 months ago 2 0 0 0

Yes i made some!!

5 months ago 2 0 0 0
offlinemark offlinemark

Long shot, but does anyone have an extra CCC ticket I could buy? Wasn’t able to get one in the open sales :/

I’d love to organize another hobby OS dev meetup and maybe do a small kernel dev workshop for anyone interested. Could also bring some merch to sell from shop.offlinemark.com ! πŸ™

5 months ago 2 0 1 0
building my own operating system in c++ (week 94, physmap)
building my own operating system in c++ (week 94, physmap) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’...

week 94, streaming kernel dev

topic: physmap

Working on some unit tests for the physmap physToVirt() and virtToPhys() functions today. Testing out LLM assisted unit test generation

(Prerecorded since I'm away)

see ya πŸ‘‹

youtu.be/oXY1ylrW6GM

5 months ago 1 0 0 0
building my own operating system in c++ (week 93, page tables)
building my own operating system in c++ (week 93, page tables) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’...

week 93, streaming kernel dev right now

topic: virtual memory

last week we finished the bitmap allocator, complete with unit tests. will continue on whatever's next, probably using that to allocate page tables and set up virtual memory

see ya πŸ‘‹

youtube.com/live/SO7x0Z...

5 months ago 0 0 0 0
building my own operating system (week 82, c++ stl)
building my own operating system (week 82, c++ stl) (detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’...

week 82, streaming kernel dev right now

topic: c++ STL

last week we got c++ working in the cmake build. now that we have that working, continuing today with trying out some embedded/freestanding STL options

see ya πŸ‘‹

youtube.com/live/-ukB4U...

7 months ago 0 0 0 0
building my own operating system (week 81)
building my own operating system (week 81) (detailed timestamps in comments)#livecoding #operatingsystem #codingNew here? Welcome info here: https://offlinemark.com/welcomediscord: https://discord.gg/...

week 81, streaming kernel dev right now

topic: lldb, c++, STL

last week we got all the clang/llvm work ported over to cmake. will continue with using lldb instead of gdb, then moving on to c++ support (hopefully including some kind of STL to use)

see ya πŸ‘‹

youtube.com/live/lJRi_h...

8 months ago 2 0 0 0
Advertisement
chill OS/kernel hacking // code with me (week 80, clang cmake)
chill OS/kernel hacking // code with me (week 80, clang cmake) (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 80, streaming kernel dev right now

topic: clang/c++ cmake

last week we got limine integrated into cmake, will continue with porting the clang/c++ support I previously worked on, into cmake

see ya πŸ‘‹

youtube.com/live/jwvHrq...

8 months ago 0 0 0 0
chill OS/kernel hacking in C // code with me (week 66)
chill OS/kernel hacking in C // code with me (week 66) #livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating Systems development "gardening" p...

week 66, streaming kernel dev right now

topic: networking

last week we finally got RX working and received network data into userspace. continuing with networking today and likely finish the networking lab

see ya πŸ‘‹

youtube.com/live/7X8WKy...

11 months ago 1 0 0 0
chill kernel hacking in C // code with me (PCI network driver, DMA)
chill kernel hacking in C // code with me (PCI network driver, DMA) (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 59, streaming kernel dev right now

topic: network driver

continuing with last week's work to get the nic initialized!

see ya πŸ‘‹

youtube.com/live/Gf6Y_Q...

1 year ago 0 0 0 0
chill kernel hacking in C // code with me
chill kernel hacking in C // code with me (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 57, streaming kernel dev right now

topic: network/NIC driver

after learning last week about qemu networking, today we're going to work on initializing the network card via PCI and accessing it via mmio

see ya πŸ‘‹

youtube.com/live/cFfENG...

1 year ago 1 0 0 0
Preview
offlinemark - Twitch 5k on youtube, and now joining twitch!streaming low level programming, assembly, and operating systems internals :)

twitch: www.twitch.tv/offlinemark

1 year ago 0 0 0 0
chill kernel hacking in C // code with me (week 55)
chill kernel hacking in C // code with me (week 55) (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 56, streaming kernel dev right now

topic: network driver

starting the network driver, which is the final lab of the coursework I'm following

(also, multi-streaming to twitch today for the first time)

see ya πŸ‘‹

youtube.com/live/j4o7Km...

1 year ago 1 0 1 0
chill kernel hacking in C // code with me (week 54)
chill kernel hacking in C // code with me (week 54) (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 54, streaming kernel dev

topic: filesystem / process spawn

streaming some filesystem dev and debugging, then moving onto start process spawning

(prerecorded since i'm away today, back live next week - see ya πŸ‘‹)

www.youtube.com/watch?v=E0K...

1 year ago 0 0 0 0
chill kernel hacking in C // code with me
chill kernel hacking in C // code with me (detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ...

week 55, streaming kernel dev right now

topic: exec / spawn syscall

now that we have a filesystem, we can try to exec programs from disk :) working on this today

see ya πŸ‘‹

youtube.com/live/-FeYOM...

1 year ago 0 0 0 0
Advertisement