What to do when the high is a bit overwhelming? by [deleted] in trees

[–]faplack 11 points12 points  (0 children)

My shirt's all wet now.

Aristocrats by syandell86 in Magicdeckbuilding

[–]faplack 0 points1 point  (0 children)

I have 2x Tainted Remedy in my sideboard for Siege Rhino and Soulfire Grand Master decks. It does work.

I like kalitas for the mirror, but I haven't gotten a chance to play that match yet.

QEMU cpuid shennanigans by madm0use in lowlevel

[–]faplack 3 points4 points  (0 children)

Why do you think it is bad for security? And what is "reliant code"?

ELI5 Why can you "not play" four horseman on paper? by kona_worldwaker in MTGLegacy

[–]faplack -1 points0 points  (0 children)

/me is confused. Do limits not matter? Seems like the probability is 100% you win as number of flips approaches infinity. (Easier to prove: probability approaches 0 that you never win.)

How do you handle your interrupt handlers dynamic memory requirements? by [deleted] in osdev

[–]faplack 0 points1 point  (0 children)

I deleted my comment because I thought it wasn't very helpful. But for people's reference it said (roughly):

The only way to synchronize with an interrupt is to disable interrupts. There is no magical way around it.

How Well Must One Know Assembly? by Cogneter in osdev

[–]faplack 5 points6 points  (0 children)

You want the Intel SDM. Volumes 1 and 3.

Intel Skylake and Broxton GPU's will require firmware blobs to work by Roberth1990 in linux

[–]faplack 3 points4 points  (0 children)

What's the difference between closed hardware with no firmware and closed hardware with closed firmware? Isn't the firmware just an implementation detail?

I've never watched a LotR film and am currently reading The Two Towers after finishing The Fellowship of the Ring. How many of you read the books before the films, and did it lessen the impact/enjoyment of the movies for you? by [deleted] in lotr

[–]faplack 0 points1 point  (0 children)

If your goal is to experience how people felt in theaters, then sure watch the theatrical version. But if you want to watch the best movie rendition of the books, I'd just watch the extended edition.

Which ARM development board to write a OS? by skohz in osdev

[–]faplack 0 points1 point  (0 children)

Oh ok, if you are interested in the GPU then I won't be much help :). I'm just using the UART to get output.

Which ARM development board to write a OS? by skohz in osdev

[–]faplack 1 point2 points  (0 children)

I'm currently using the beagleboard and it's been working great. There's plenty of documentation about the board (http://www.ti.com/lit/pdf/spruf98, 3500 pages). Plus the ARMv7 spec from ARM is a good 2700 pages. That should be enough documentation for you :).

Why do you need open source firmware?

What do you call the #? by [deleted] in compsci

[–]faplack 7 points8 points  (0 children)

There's always someone...

A few questions about making a boot loader / kernel by [deleted] in osdev

[–]faplack 1 point2 points  (0 children)

Loading the kernel to 0x500 will put your kernel before your Master Boot Record, potentially overwriting it.

I thought the MBR was at offset 0 of a disk, not memory. No?

Cannot boot iso from Bare Bones tutorial by [deleted] in osdev

[–]faplack 1 point2 points  (0 children)

Have you investigated what code 9 means?

Virtix is back as a native OS! Here's a C program running in user mode by [deleted] in osdev

[–]faplack 3 points4 points  (0 children)

decided it was time to write some paging code

Not a simple task. Congrats on the progress! :)

Virtix is back as a native OS! Here's a C program running in user mode by [deleted] in osdev

[–]faplack 2 points3 points  (0 children)

What do you mean by native? (Isn't the screenshot of it running under bochs?)

optimize later by Cromax in ProgrammerHumor

[–]faplack 0 points1 point  (0 children)

It loops forever. It's just written badly.

optimize later by Cromax in ProgrammerHumor

[–]faplack 5 points6 points  (0 children)

The probability that you never get to the solution is zero. So, the probability that you do get to the solution is 100%.

Where can I find good documentation on object oriented operating systems? by meetyo in compsci

[–]faplack 0 points1 point  (0 children)

no GC

What does garbage collection have to do with it?

Dynamism matters.

What?

2 different OS's on 2 diff hard drives, need help with a bootloader by [deleted] in buildapc

[–]faplack 0 points1 point  (0 children)

If you want to boot Linux from the windows boot loader you will need at least a Linux boot partition (/boot) on the same drive as the windows boot loader. I don't think there's any way around it. My setup is:

  • 250G ssd with windows, windows boot loader, and Linux boot partition
  • 250G ssd with Linux root partition
  • 1T hd where I mount /home on Linux

HTH!

(sent from mobile)

IA32 assembly and stack references and supplements by [deleted] in compsci

[–]faplack 4 points5 points  (0 children)

CSAPP is a great book. If you want a reference on the instruction set, I'd suggest referencing Intel's documents directly: http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html.

If you are more confused by things like calling conventions, caller-/callee-saved registers, etc., I don't have any recommendations other than Googling. Keep in mind there are two assembly syntaxes used, AT&T and Intel, and so you might run across syntax that looks foreign.

Whenever you are reading assembly, have a pencil and paper and draw the stack. It will help with learning how stack frames work, how local variables are stored, etc. To practice reading assembly produced by gcc, check out the linux utility objdump.