Showing tag results for History

Jan 3, 2014
Post comments count0
Post likes count1

What happened in real-mode Windows when somebody did a longjmp into a discardable segment?

Raymond Chen
Raymond Chen

During the discussion of how real-mode Windows handled return addresses into discarded segments, Gabe wondered, "What happens when somebody does a into a discardable segment?" I'm going to assume that everybody knows how traditionally works so I can go straight to the analysis. The reason is tricky is that it has to jump to a return address...

History
Dec 31, 2013
Post comments count0
Post likes count1

New Year's Eve is sometimes a stressful occasion

Raymond Chen
Raymond Chen

Today is New Year's Eve, another opportunity for to mark that an approximately-integral number of revolutions of the earth have occurred since some point in time that wasn't even calculated correctly in the first place. (We retain it for backward compatibility.) December 31, 1999 was a particularly anxious day in the technology sector. Microsoft's...

History
Nov 19, 2013
Post comments count0
Post likes count2

Why is the Program Files directory called Program Files instead of just Programs?

Raymond Chen
Raymond Chen

Some people suggest that one thing Microsoft Research could do with that time machine they're working on is to go back in time and change the name of the Program Files directory to simply Programs. No, it really should be Program Files. Program Files are not the same as Programs. Programs are things like Calc, Notepad, Excel, Photoshop. They ar...

History
Oct 8, 2013
Post comments count0
Post likes count1

I wrote FAT on an airplane, for heaven’s sake

Raymond Chen
Raymond Chen

When you wrote code for 16-bit Windows, one of the things you spent time doing as part of performance tuning was deciding which functions should be grouped together in which segments. Code in 16-bit Windows executed out of code segments, each of which could be up to 64KB in size. When a code segment was loaded from disk, the entire segment was loa...

History
Oct 1, 2013
Post comments count0
Post likes count1

The management of memory for resources in 16-bit Windows, redux

Raymond Chen
Raymond Chen

Some time ago, I briefly ran down how 16-bit Windows managed memory for resources. But there's a detail that I neglected to mention: Ownership. As we saw, a resource handle was really a pointer to the resource directory entry of the resource from the corresponding module. This could be done with a 16-bit pointer because the segment portion of th...

History
Sep 10, 2013
Post comments count0
Post likes count1

Early versions of Aero Peek: Aladdin, Bat Signal, and Squeegee

Raymond Chen
Raymond Chen

The feature now known as Aero Peek wasn't born that way. It went through several iterations before becoming what eventually shipped in Windows 7. At the MIX09 conference, Stephan Hoefnagels showed some of the precursors to Aero Peek. Here are the highlights, and the corresponding time codes if you want to jump straight to the demos. Thumbn...

History
Jul 10, 2013
Post comments count0
Post likes count1

Why is the syntax for touching a file from the command prompt so strange?

Raymond Chen
Raymond Chen

The magic incantation for updating the last-modified date on a file is What strange syntax! What's with the plus sign and the commas, anyway? The formal syntax is the much more straightforward This means to start with the file , then append the files , , and , treating them all as binary files. If you omit the part, then you get Thi...

History