Scott Adams Dilbert. Not cool enough. grin
1/31
Never forget.
Network Neturality
There is debate in congress on how to implement network neutrality without keeping companies from innovating. But how would one construct these regulations?
I really fear a law that gives the government control of how people can set up and interconnect networks of computers.
I think the solution to these problems is is simple. Prohibit network operators from introducing artificial scarcity into their networks. Is this too vague to become a regulation? Personally, I like the idea of vague regulations. It gives the laywers something to do.
Apple, Inc.
Since Apple Corps, Ltd did not ask for an injunction against Apple’s name change, I can only assume that Apple and Apple have come to an agreement.
Apple’s trademarks lawyers are pretty smart. If they can convince a judge that the operating system OS-9 is in a different market than the operating system OS/9 then they should have no problem with Cisco. Still, it is amazing how Apple feels it can push around other companies.
Hmm. Maybe Apple and Apple don’t have an agreement? Maybe Steve is playing the same game with Apple Corps as Cisco? I call this the “If we can’t use it, then no on can” attack.
Lame December Post
Here it is: the last day of the last month of 2006. Just to keep a promise to write once a month in this journal I decided to write something.
I want to thank Olivier Galibert and R. Belmont for SDLMESS. You guys got me back working on MESS again. I had forgotten how much fun it was.
Lightgun converted box PCB updated
I just posted a small update to the PCB PDF files. Thank you Christian for pointing out the errors to me. I forgot to connect IC6’s pin 1 and pin 2 together. I also forgot the trace between R5 and R6.
Diecom light gun in MESS
MESS bug #971 is a feature request for adding a Diecom light gun adaptor emulation to mess. It was committed this morning. Woo, hoo!
But I’d like to take a moment to explain some of the deficiencies of my emulation. As is usual, I only implement enough of the converter box to get the two written games working: Iron Forest and Medieval Madness.
Here is how the games work. When the light gun trigger is pressed, the CoCo clocks the device to state 6 and waits for the start of a video frame. After vertical retrace, all of the palette registers are set to white and the device is clocked to state 7. This starts the 9 bit timer. The 9 bits are timed to roll-over every horizontal refresh. At every horizontal refresh the device is polled to determine if there was a “hit”. A “hit”” is when the gun senses the light of a white pixel on the screen. Further more, when a hit is detected the internal timer is stopped automatically. Clocking the device’s state from 8 to 15 make the nine bits of timer data available to the CoCo. A low timer value says the hit was early in the scan line, a high timer value says the hit was late in the scan line.
Since the CoCo is counting off scan lines it knows the vertical axis of the hit. Since the CoCo reads the nine bit timer value it knows the horizontal axis of the hit. Thus the hit is pin-pointed on the screen.
Let me describe another method of using the device, one which isn’t emulated. This other method is what is used in the Nintendo Entertainments System’s Duck Hunt game. When the gun’s trigger is pressed the screen is blacked out and at the end of the frame, the device is queried for a hit. If there was a hit, then the game player must have been pointing the gun at a bright light source (not the TV) so the game registers a miss. If there was no hit, an object is painted white at the start of the next video frame, then at the end of the frame the device is queried for another hit. This is not emulated because I do not sample the video buffer, looking for a bright light. I score a “hit” whenever the device is sampled and scan line matches the mouse vertical position.
If people start writing new games and they want to use the second method I will add it to the emulation.
Diecom Light Gun Updates
I recently fix a diode polarity issues in the DLG Schematic. I also have added better PCB layout files. Enjoy.
Arbitrary GDB
Just now I read about a new release of Xcode for Mac OS X. In part of the new release notes was this:
- opening a maliciously-crafted DWARF binary with GDB could lead to arbitrary code execution.
That is the funniest thing I have read in a long time. Every GDB session leads to arbitrary code execution.
John Hodgman
A few weeks ago I went to the John Hodgman book signing/performance in San Francisco. He was fantastic. Jonathan Coulton was also very good. Here is a little bit of video I took: