Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » iHD   (RSS)

What Now?

I have had some readers ask what is to become of this blog. Well, it started out discussing Office Development , then it covered Threat Modelling , and most recently it has been about HDi . There have been several posts about the Pet Shop Boys and then
Posted by ptorr | 5 Comments
Filed under: , , ,

Fun Friends for Functions, Part 2: Handling Exceptions

Previously we looked at how you can bind a function to a set of arguments and then call the resultant function at some time in the future. This technique is very powerful, but as-is it is a ticking bomb. As Amy points out in her blog post on exception
Posted by ptorr | 0 Comments
Filed under: , ,

Fun Friends For Functions

And now for a more techy post. In ECMAScript, functions are considered first-class objects. "What," you might ask, "differentiates a 'first-class' object from a merely 'economy-class' object?" Well, the main thing is that functions in ECMAScript are treated
Posted by ptorr | 0 Comments
Filed under: , ,

HD DVD Emulator for Xbox 360!

It's finally here! The Xbox 360 HD DVD Emulator went live today, enabling content authors to test their HD DVD content in a real-world consumer player before committing it to a shiny disc. This can save a lot of time and a lot of money for those folks
Posted by ptorr | 1 Comments
Filed under: , ,

Simple ACA dumper

Quick one today – if you have an ACA with some files in it, you can use the createaca tool (provided as part of the Jumpstart Kit ) to list the files inside it. Trouble is that the output is not very helpful; it contains too much information. So here
Posted by ptorr | 0 Comments
Filed under: , ,

Helpful Tracing Routines

Last time we looked at conditional compilation , and how using it with HDiSim could aid with interactive debugging of runtime exceptions. But as useful as interactive debugging is, there are three major cases where it is impractical or impossible: When
Posted by ptorr | 3 Comments
Filed under: , ,

Attachment(s): TracingBlog.zip

Using Conditional Compilation in HDi

One of the cardinal rules for developing HD DVD applications is, "let no exception go unhandled." The reason for this is simple – if you fail to handle an exception, the player will kill your application and stop the disc. This leads many developers to
Posted by ptorr | 3 Comments
Filed under: ,

link

No, not the application.link API. A web link. Or two. Some of you may have noticed a new name on the HD DVD Forums of late: Amy Dullard . She also has a great blog that focuses on getting people up-and-running with HDi. Check it out at http://blogs.msdn.com/amyd
Posted by ptorr | 1 Comments
Filed under: ,

A Game of Chance that Pirates like to Play

Ahoy there me laddies! Yarrrr you better be readin' this blog then matey, or you'll be feelin' the lick o' the cat come nightfall! No, it's not Talk Like a Pirate Day ; it's Let's Post Another HDi Game Day . The other week I posted an HDi sample based
Posted by ptorr | 7 Comments
Filed under: ,

Attachment(s): LiarsDice.zip

Coloured Blocks Advancing on a Moving Block

This blog would be titled Space Invaders , but I don't own that trademark so I had to choose something a bit more generic. This is a preliminary post to show a very hacked up version of the popular game in HDi. Note that I hope to follow up with a more
Posted by ptorr | 7 Comments
Filed under:

The Difference Between “Selected” and “Current” tracks

In HD DVD, there are two ways to figure out which subtitle or audio track the user has chosen. The selectedAudioTrackNumber (and selectedAudioLanguageCode / selectedAudioLanguageCodeExtension ) properties refer to the track (language) that the user has
Posted by ptorr | 0 Comments
Filed under:

A tip for writing script for HD DVD

A very quick tip today, although this one trips me up a lot . When you write script files for your HDi applications, always include a blank line at the start of the file and at the end of the file. This is because the player will concatenate all the individual
Posted by ptorr | 6 Comments
Filed under:

Red Box Debugging

Today I have a simple debugging tip. Sometimes when you have an obscure bug, you need to answer the question "is my code even getting executed?" Often you can find that really obscure bugs are caused simply by a bad conditional, a typo, an unexpected
Posted by ptorr | 2 Comments
Filed under: ,

Simple Pre-Processor for HDi

Hope you all had a good break. I haven't blogged for a while due to travel (both business and pleasure) and laziness… but I thought I'd start off today with simple pre-processor for HDi. One of the things that is missing from HD DVD is a good pre-processor;
Posted by ptorr | 2 Comments
Filed under: ,

Attachment(s): HDDVD_PreProcess.zip

Script Execution Order in HD DVD

An HDi application can use multiple script files so that you can better manage your code (more manageable files; easier source control; etc.). You do this simply by listing the files inside <Script> elements inside the manifest (and of course add
Posted by ptorr | 2 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker