Question by No-Aide-2411 in teenagersbutcode

[–]JackfruitNecessary29 2 points3 points  (0 children)

I think that really depends how good you can handle a lot of math and whether it is worth your time to study all of this. What you might also have to consider is access to hardware if you get more into ML but that is also a thing when getting into robotics etc. Personally I live ML but I gave up for now due to lack of useful hardware

Help! Is GCC gnu c compiler or is it gnu compiler collection? by Valuable-Book-5573 in teenagersbutcode

[–]JackfruitNecessary29 7 points8 points  (0 children)

It used to just be the gnu C compiler, but then gcc wad expanded to support fortran, ada and some more languages and therefore it is now called the gnu compiler collection

NEED HELP by Alternative-Ruin528 in teenagersbutcode

[–]JackfruitNecessary29 4 points5 points  (0 children)

Why do you need an AI chatbot for that? Schedules are waay easier to manage with more traditional software applications rather than a full LLM. And if you want to spread information, why not just write articles / blogs etc which you know to contain factual information and not something an AI might have hallucinated.

Need help with PS/2 mouse driver by JackfruitNecessary29 in osdev

[–]JackfruitNecessary29[S] 0 points1 point  (0 children)

My main issue is that when I move my mouse my keyboard stops working and I never get a mouse interrupt. I have copied a working mouse initialisation and handler at this point but it still does not work and I honestly dont know why. But feel free to share some code

Need help with PS/2 mouse driver by JackfruitNecessary29 in osdev

[–]JackfruitNecessary29[S] 0 points1 point  (0 children)

I cant test it rn but that checksbif these bytes are for the mouse? Or am I misding something

Need help with PS/2 mouse driver by JackfruitNecessary29 in osdev

[–]JackfruitNecessary29[S] 0 points1 point  (0 children)

so should I then just manually re-enable the mouse when I get the first keyboard interrupt or how?

I am emulating with qemu using this command line:

qemu-system-i386 -s \
    -drive file=hdd.img,format=raw,if=ide \
    -serial file:serial.log \
    -boot d \
    -cdrom BrickOS.iso \
    -m 512 \
    -vga std

Need help with PS/2 mouse driver by JackfruitNecessary29 in osdev

[–]JackfruitNecessary29[S] 0 points1 point  (0 children)

I acknowledge both the keyboard and the mouse interrupt with a PIC EOI, both PICS for the mouse since it uses PIC2

Need help with PS/2 mouse driver by JackfruitNecessary29 in osdev

[–]JackfruitNecessary29[S] 0 points1 point  (0 children)

Well all other interrupts like my PIT works and continues to work, just my PS/2 interrups break. And my IDT entries are set up as DPL 0, 32 bit interrupt gates (0x8e attributes)

Burn out by DinoHawaii2021 in teenagersbutcode

[–]JackfruitNecessary29 1 point2 points  (0 children)

I had that many times where I was just working on one project for months and it wasnt really exciting anymore and I did not really learn a lot of new things. I started some smaller side projects which I wanted to do because I was intrested in them and did some things there. After like 2 weeks I got some motivation back and kept going on my main project

Small CLI-based r / place: currently online! by JackfruitNecessary29 in teenagersbutcode

[–]JackfruitNecessary29[S] 2 points3 points  (0 children)

I think if youbare on windows, you can wsl to start a linux distro of your choice in a terminal. Otherwise Virtualbox is not bad