• FreiK's WebLog

    Hack to use Dell 1600n from x64!

    • 18 Comments
    Explains how to print to a Dell 1600n printer from Win64...
  • FreiK's WebLog

    x64 ABI vs. x86 ABI (aka Calling Conventions for AMD64 & EM64T)

    • 14 Comments
    A Summary of the x64 calling conventions with links to the official document - a handy reference for folks just starting to port a compiler, or needing to author some assembly code....
  • FreiK's WebLog

    First Post - all things x64

    • 11 Comments
    Welcome to my stinkin' blog. I just wanted a place to dump interesting & useful blobs of information about what I've been doing for the past 4 or 5 years of my life @ work: x64. My name is Kevin Frei, and I've been a developer on the x64 (aka AMD64...
  • FreiK's WebLog

    Driver complaint

    • 9 Comments
    <rant> Why is it that everyone decides to create their own whiz-bang interface for drivers & whatnot? Why is it always so difficult to just say "Install my printer & use the Windows default interface for managing it". WiFi cards &...
  • FreiK's WebLog

    Updated ABI docs available + Exception Handling info

    • 9 Comments
    They're not marvelously better, but they include the introduction that I wrote a couple years ago (and have mirrored in this blog twice, now). So, check out http://msdn2.microsoft.com/en-us/library/7kcdt6fy(VS.80).aspx to see the x64 ABI stuff in all...
  • FreiK's WebLog

    How not to benchmark different languages

    • 8 Comments
    I've recently been trolling the web for any sort of language-comparision benchmarks, to see how the CLR's JIT stacks up to the competition. Dr. Dobbs has what seemed to be a pretty reasonable micro-benchmark article . It's not particularly insightful...
  • FreiK's WebLog

    How to get CL.exe proxy filters (like STLFilt) working under VS2005

    • 8 Comments
    There's a class of tools that lots of people write that replace cl.exe with a 'wrapper' to do things link pre-process a command line [perhaps adding particular -D arguments], or filtering the output to deal with things like psychotically complicated error...
  • FreiK's WebLog

    What does "Hot Patchability" mean and what is it for?

    • 7 Comments
    Explains in hand-wavy, high level terms what hot-patchability is, why you might want it, and how it works....
  • FreiK's WebLog

    x64 RTM'ed yesterday!

    • 6 Comments
    I just had to write something. The x64 OS RTM'ed last night. I'm upgrading all my machines to it today. It's been a long haul, and I'm quite happy that it's finally out the door. Now I'm just trying to find an article that discusses it for more than 1...
  • FreiK's WebLog

    Useful DosKey + Command window titles

    • 5 Comments
    Mark got me mucking with my doskey macros again, and between the two of us came up with a fairly elegant mechanism that keeps the title of a command line reflecting the current directory you're in: First, you need a little script turd that does...
  • FreiK's WebLog

    Vista x64 Media Center 'fix'

    • 5 Comments
    <RETRACTION> Crap. After getting a couple of comments saying they tried the same thing, and it didn't work for them, I went back and tried it myself. And it turns out it doesn't work. I think I had tried it with some media that I had already...
  • FreiK's WebLog

    Speaking in 'public'...

    • 4 Comments
    I'll be hanging out with the cool kids at the Northwest C++ Users Group tomorrow night. If you're in the area, and want to heckle me, swing by. We'll be in building 40 at 6:30 PM. My talk starts at 7:00 PM. I'm talking about the actual runtime cost of...
  • FreiK's WebLog

    A more flexible array template [and the evolution of the idea]

    • 4 Comments
    {Disclaimer - I started with a bunch of code from boost::array - it's a great implementation of the functionality it provides} While my day job doesn't generally allow me to goof around with advanced C++ features, I still managed to find time to do...
  • FreiK's WebLog

    Music & audio baloney

    • 4 Comments
    I wouldn't describe myself as an 'Audiophile', but I do own a lot of music (over 400 CD's, at last count). As a collector of music, I have 2 primary problems: How to store it, and how to actually listen to it, while still trying to keep it organized....
  • FreiK's WebLog

    Whidbey RTM!

    • 4 Comments
    The golden build has been sent to replication (actually it was the end of last week, and if you really want to know, the build itself was done the first week or two of October). Soon, a good 64 bit development environment will be available to an MSDN...
  • FreiK's WebLog

    64 bit Microsoft Mouse & Keyboard Drivers!

    • 4 Comments
    I tried out Windows Vista 64 on a machine for a while, but had need of a more stable system (I generally wait to self-host on OS'es until Beta 2). So I reinstalled XP64, and on a lark, checked. What do you know: http://www.microsoft.com/hardware has 64...
  • FreiK's WebLog

    I'm (in)famous

    • 4 Comments
    It's been a while - I'm now the proud father of 3 children, up from a mere 2, and I'm finally back at work, and resuming normal developer duties. In the mean time, check out my glamorous appearance on "the .Net Show" on MSDN: http://msdn.microsoft...
  • FreiK's WebLog

    64bit ATI drivers for EMachines laptops

    • 3 Comments
    Mike Wall, a very bright guy from AMD, just forwarded this to me. I figured it couldn't hurt to put it here: <snip> If anyone has an Athlon 64 Emachines M6805, M6809, M6811 notebook and you're running 64-bit Windows, here is how to get the ATI...
  • FreiK's WebLog

    Why isn't __assume on for asserts in retail mode?

    • 3 Comments
    __assume and __forceinline were the first two features I implemented as a developer out of college. I just resolved a bug as 'By Design' that asked the question posed in the title. Here's a brief explanation: First, __assume(n==x) basically tells the...
  • FreiK's WebLog

    X64 Unwind Information

    • 3 Comments
    A brief discussion of how to author simple x64 unwind data for assembly files...
  • FreiK's WebLog

    New Job, SP1

    • 3 Comments
    I recently switched from the lead of the Code Gen & Tools team for Visual C++ to the lead for the Code Gen team for the .Net Framework. I've not used managed code much, but for some classes of code, it sure does look easier to use [I'm working on...
  • FreiK's WebLog

    Goofing around with TypeScript & Windows Script Host

    • 3 Comments
    I've been horsing around a lot lately with Windows Script Host for various reasons, some more interesting than others. I've actually done a bunch of random things to make it much more palatable under Visual Studio 2012: perhaps I'll share some of that...
  • FreiK's WebLog

    Bug in x86 inline assembly to watch out for

    • 2 Comments
    Imagine this very lame code: int main() {} void BugAsm() { __asm { MOV [ESP+12],OFFSET main } } void(*BugAsmPt)()=&BugAsm; // this is just to make sure the function is not removed by /OPT:REF Now imagine your significantly less...
  • FreiK's WebLog

    Visual C++ Code Gen & Tools bugs

    • 2 Comments
    My role for the past 6 months (and the next several) I'm charged with effectively "going down with the ship" WRT the current generation of code gen & tools for Visual C++. This includes the linker, Masm, ml64, DIA, c2, pdb, and a few other miscellaneous...
  • FreiK's WebLog

    How to make a no-inline inline function (and why you might want to)

    • 2 Comments
    What does __declspec(noinline) inline int foo(...) mean?...
Page 1 of 2 (39 items) 12