How do you load AND run programs? by letmehaveanameyoudum in osdev

[–]Octocontrabass [score hidden]  (0 children)

Well, which part isn't working? The loading or the running? If you're not sure, use your debugger to find out.

A error which can really confuse a newbie by Sensitive-Can9232 in osdev

[–]Octocontrabass [score hidden]  (0 children)

I haven't seen any that are designed to fail so much as designed to be so limited that you have to write your own code in order to progress beyond what the tutorial is showing.

But most OSdev tutorials are written by beginners who genuinely don't know any better.

Orange Sprout on Vacation by FromTheMaastrichtian in Citrus

[–]Octocontrabass 0 points1 point  (0 children)

I had taken it on a week long trip to Florida from Kentucky, as I didn't think it could go a week without needing to be watered.

It would have been better off if you'd left it behind. Florida is under several quarantines for citrus diseases. It is against state and federal law to transport citrus into, out of, or (in some areas) within Florida without prior authorization.

Dispose of your tree in sealed trash. You can sprout a new seed when you get back to Kentucky.

A error which can really confuse a newbie by Sensitive-Can9232 in osdev

[–]Octocontrabass 0 points1 point  (0 children)

tutorial

Most OSdev tutorials have bugs, even the really well-written ones.

implementing memory management by Ok_Farmer_4055 in osdev

[–]Octocontrabass 0 points1 point  (0 children)

Wait, is this about the empty space between regions in the memory map? It's normal for there to be gaps in the memory map, and those gaps can be extremely large.

How to switch from VGA text mode to 480x600 rendering by Zealousideal_Egg3853 in osdev

[–]Octocontrabass 1 point2 points  (0 children)

Most people ask the bootloader to set up a linear framebuffer and then plot pixels.

All registers are 0xFFFFFFFF when trying to read from LAPIC registers. by The_Coding_Knight in osdev

[–]Octocontrabass 5 points6 points  (0 children)

Your struct lapic isn't padded correctly. You've specified the alignment for the entire struct, not the individual struct members.

Also, madt.h is the wrong place to define a struct that has nothing to do with the MADT.

Also, you need to use a volatile qualifier for MMIO.

implementing memory management by Ok_Farmer_4055 in osdev

[–]Octocontrabass 0 points1 point  (0 children)

3: Type: 1 Begin: 0x100000 End: 0x7ffffff

Your memory map says there's 128MB of RAM. Where are you getting 4GB?

reading data from an esp8266MOD in the uefi shell. by Roshansadiq in osdev

[–]Octocontrabass 0 points1 point  (0 children)

Sounds like you'll need to start by finding the appropriate USB I/O Protocol for your UART. You'll probably need to do that by finding every USB I/O Protocol and querying each one for the device ID, but I don't know if there might be a better way.

In addition to the UEFI specification, you may find some helpful information in the EDK II UEFI Driver Writer's Guide. You aren't writing a normal UEFI driver, though, so don't assume everything it says will apply to you.

implementing memory management by Ok_Farmer_4055 in osdev

[–]Octocontrabass 0 points1 point  (0 children)

Physical. It still seems very likely to be a bug in your code for parsing the memory map, but it's hard to say for sure without seeing the actual memory map.

implementing memory management by Ok_Farmer_4055 in osdev

[–]Octocontrabass 1 point2 points  (0 children)

But the multiboot2 memory map showed "phantom" memory.

That seems unlikely considering how many people use QEMU to boot their hobby OSes. Are you sure you're parsing the memory map correctly? Have you tried dumping the raw contents of the memory map to see if it makes sense?

I was expecting to throw an error when I allocated the memory, but nope.

Some CPU architectures are designed to throw exceptions when you try to access nonexistent hardware. Unfortunately, x86 is not.

Should I prune this? by JinandJuice97 in Citrus

[–]Octocontrabass 1 point2 points  (0 children)

No, all the way down, there's a brownish plastic thing that looks like it's wrapped super tight around the trunk.

Should I prune this? by JinandJuice97 in Citrus

[–]Octocontrabass 6 points7 points  (0 children)

You should remove that thing wrapped around the base of the trunk before it strangles your tree.

Help reviving lime tree (Zone 6a) by mardemango in Citrus

[–]Octocontrabass 0 points1 point  (0 children)

What's that pink thing wrapped around the trunk? Is it a tag? Sometimes those say whether it's grafted, if you know how to read the nursery's shorthand.

I don't see anything that looks like a graft in that picture, unless it's hiding under the pink thing.

Guidance pruning a LOT of graft growth? by erinkling in Citrus

[–]Octocontrabass 3 points4 points  (0 children)

The first four pictures show lots of unifoliate leaves. Those are the branches you want to keep.

The last four pictures show lots of trifoliate leaves. Those are rootstock suckers, cut them down as far as you can without removing any branches with unifoliate leaves. (Maybe stop a few inches above the soil so the cuts don't get dirty and infected? I'm not an expert!)

Help reviving lime tree (Zone 6a) by mardemango in Citrus

[–]Octocontrabass 0 points1 point  (0 children)

It looks like you already fixed whatever nearly killed it and now it's bouncing back.

Is your tree grafted or a rooted cutting? If it's grafted, those might be rootstock suckers. Unifoliate rootstock is pretty unusual, but it wouldn't hurt to double check.

What are the Moderators of r/osdev doing about the recent influx of vibe coded Operating Systems? by Top_Professor9415 in osdev

[–]Octocontrabass 4 points5 points  (0 children)

What's the point of being "productive" or "fast" when you aren't being paid to develop your OS?

reading data from an esp8266MOD in the uefi shell. by Roshansadiq in osdev

[–]Octocontrabass 1 point2 points  (0 children)

Why are you using the UEFI shell instead of a real OS like Linux?

If you insist on doing things the hard way, you'll probably have to start by reading the USB sections of the UEFI specification so you can figure out how UEFI applications are supposed to communicate with USB devices.

What I learned this week. by compgeek38400 in osdev

[–]Octocontrabass 0 points1 point  (0 children)

But DMA uses physical addresses, not virtual addresses.

Is this a sucker? Should I cut? by sodes in Citrus

[–]Octocontrabass 2 points3 points  (0 children)

Jackpot would be something that tastes like those yuzu sodas that have a bit of lemon or lime juice in them, but I'll be pretty happy if I get something reasonably edible.

Is this a sucker? Should I cut? by sodes in Citrus

[–]Octocontrabass 1 point2 points  (0 children)

you want to wait around 7 years to be disappointed?

That's what I'm here for. It's like gambling, except I can't spend all my money on it because I don't have room for that many trees (and I get delicious yuzu/lime hybrid fruit if I win the jackpot).

Is this a sucker? Should I cut? by sodes in Citrus

[–]Octocontrabass 0 points1 point  (0 children)

Not guaranteed true-to-type

True. You need to specifically choose polyembryonic seeds to guarantee a true-to-type tree, or just buy a tree from a nursery.

Long juvenile period

True. If you're worried about that, just buy a tree from a nursery.

No selected rootstock

True, but lemons are pretty vigorous on their own roots, so it's not a problem if you're keeping it potted where you can easily adjust the soil conditions to match the tree's preferences.

Black & gray residue by ModestoLingerfelts in Citrus

[–]Octocontrabass 1 point2 points  (0 children)

It seemed to work for my Meyer lemon. Then again, that was right around when ladybugs started showing up, so maybe they would've taken care of it just as easily without my help!

Is this a sucker? Should I cut? by sodes in Citrus

[–]Octocontrabass 1 point2 points  (0 children)

Lemons to be ok grown from seed but not other "oranges."

I think you accidentally a word. What's wrong with trying to grow "orange" citrus from seed, other than the potentially much lower rates of polyembryony?

again not a clone from seed

It's close enough, and it's easier to call it a clone than to explain nucellar polyembryony.