One Monitor and a Garbled Display

ATI Catalyst tray tool has a useful screen resolution changer. The problem being I set this to a resolution that was much too high and the screen became a mess of moving horizontal lines, unable to change the thing back.

On rebooting, I found the resolution back to normal and everything was readable. That was until I logged in under my girlfriends profile, and the setting was resolution went back to its garbled form.

I knew how to fix this in the past, but after being out last night and my brain not in top shape, I let google try to answer this for me. Suprisingly it was hard to find a solution but this site had the answer:

Beginners Guides: 104 Performance Tips for Windows XP – PCStats.com

Basically it says reboot the PC, press F8 before windows kicks in and select VGA mode. Once you can see things, you can go and change the resolution to something you can see clearly.

Montezuma’s Revenge and C64 Emulation


Wearing my Commodore 64 WIZZKID tshirt yesterday sparked a discussion about classic games.

One of my friends had a fix to play Montezuma’s Revenge, the fix was so strong, he caried the disk image on his USB stick in the hope he’d come across someone with a C64 emulator… he was willing to buy a C64 just to play this game.

This morning I went looking and playing.

Apple IIe version

First google hit was the Apple IIe version. It felt a bit clunky and the graphics seemed a little piss poor (is it just me, or do you remember game graphics to be better when you were playing them as opposed to what they are now). Still, if thats the version you grew up on, you can get the “rom” from ClassicGaming.com. The emulator link they provide doesn’t work, but go here for the latest version of the Apple //e Emulator for Windows.

Nothing much to do with the Video Game

While browsing the net, I came across the meaning of Montezuma’s Revenge. Think of War of the Worlds meets Biological Warfare, 1520’s Mexico style. Montezuma was the name of the Emporer of Mexico at the time but got trounced on when Invaders from Europe took over. Soon after though, the invaders literally got the shits. A form of diarrhea that the Mexicans were immune to. Revenge is a dish best served… never mind. See Wikipedia

C64 Version

Moby Games had the first entry about the C64 version. It actually provided screenshots for all the versions of the game which allowed me to compare them graphically and know which tail I should be chasing. The C64 version looked one of the best.

The disk image (Montez.zip) I found here along with a pretty ordinary DOS emulator called PC64. My patience didn’t really last and I didn’t get past PC64’s dated interface. Knowing there are newer Windows emulators around I deleted PC64 and searched again.

The answer came in CCS64 for Windows. V3 was released on May 17th 2006 so its still in active development. It needs DirectX 9 but it means a very smooth run. Even on my laptop with 512MB and 1.4Ghz processor, the game ran smoothly. Download the version that includes the Installer. Unzip it to say C:temp, and run the installer from there. You can just press Next to accept the defaults.

Once installed, you can launch CCS64 from the Start menu. When you run it, it will bring up the old Basic v2 screen. Now unzip the Montez.zip file (c:temp or desktop or anywhere you’ll remember it in future). Montezum.d64 is the file that you need.

In CCS64, go to File->Load C64 Files->Disk Drive->Device 8.
You’ll then get a 1541 Device 8 page, simply use the arrow keys to navigate to the Drive and Directory you put Montezum.d64 file. Once Highlighted press F3 to start the game.

I found the C64 version to be particularly smooth and heaps more playable than the Apple version. Take a look.

Edit: I almost forgot. If you want to change the controls press Alt+I. You can then change the control method (Joystick port 2). I like KeySet 3 which basically maps the joystick to the arrow keys, but you can configure the keys to however you like.

Sega Master System version

While at Moby Games, I noticed the Sega version had graphics that gave Montezuma’s Revenge to all the other versions ;-). I didn’t play it myself, but if you are interested I found a place you could download the rom at euroemu.net. I leave it to you to find a decent Master System emulator.

Enjoy!

Effective Java Programming Language Guide

http://java.sun.com/docs/books/effective/

A collegue at work recommended this book.

I can make the following link in my experience
My C++ lecturer went to great pains to explain C++’s greatness in terms of OCF and having full control on the lifecycle of objects as well as make us understand how & when objects are created and destroyed. As well as the power of knowing the pitfalls of partial assignment and other cautionary tales I’m too busy to talk about here.

This book explains the Java side of that, whilst Java hides many of these things through garbage collection, interface and single inheritance, the book tells you Java’s side of the story when it comes to the more low level object management.

Whats a Spring?

http://www.onjava.com/pub/a/onjava/2005/10/05/what-is-spring.html

Found the first couple of chapters of the ‘Spring: A Developers Notebook’ on ONJava.com today. Finally the mysteries are opening.

Windows Media Player 11

http://www.microsoft.com/windows/windowsmedia/player/11/default.aspx

WMP 11 is available in beta form. Guess what. Its faster than WMP 10. The interface is a much slicker looking black. The buttons, Now Playing, Rip, Sync, etc all have drop down menus to the most commonly needed functions. My favourite part is that within a couple of clicks you can bring up the equaliser, a feature I missed since WMP 9. When ripping tracks, you can specify the format and bitrate from these menus too.

The presentation of the play list is a bit better with animations and more fluid drag and dropping. The media library has improved with Album Art appearing next to the items allowing a more interactive browse. For things you dont have album art for yet, you can now right click and Find Album Info rather than jump into another area of the app and coaxing WMP to download it.

In my opinion, all thumbs up. I had just switched to WinAmp 5 for speed, I can consider changing back.

Object-relation mapping without the container

http://www-128.ibm.com/developerworks/java/library/j-hibern/?ca=drs-

Right now, anything that detours EJB 2 in favour of another persistance mechanism is my friend. (ie EJB3 ;-), hibernate).

The linked IBM developerworks article focuses on Hibernate and this thing I didn’t know existed until a few days ago, Spring.

On another anti-EJB note, I was reading Beyond Java by Bruce Tate. From section 1.3

Keep in mind that I’m a cynic at heart. When it comes to technologies, it takes a whole lot of effort to get me excited. I still have never written a web service, at least with the massive IBM and Microsoft stacks, and I didn’t write my first EJB until 2003. I’ve never written an EJB entity bean unless it was to build a case against them, and never will. I’ve instead preferred simpler architectures, like REST, POJO programming, transparent persistence, and Spring. Even then, I was late to those parties.

Ah. Validation from a respected industry individual.

J2EE for you at home

A plethora of links (mainly tutorials) to get you through the path of J2EE learning. Personally I’d like to shoot EJB’s out of a cannon due to the troubles they have given, however with a little time and patience, (or the willingness to look at other persistance tech such as Hibernate), you too can be a J2EE master.

The Sun Java J2EE Tutorial (version 5)

I learnt using the previous Pointbase one, but this is just as good, if not better.  Very accessible and lots of samples/tutorials.

Eclipse Web Development Tools

Eclipse has a plugin to help develop beans out of the box. It offers things like jsp highlighting, deployment and integration with Tomcat, JBoss and others.

The community section offered some useful tutorials to make the most out of this environment, which looks promising for new and old J2EE developers alike.

O’Reilly Books
Enterprise Javabeans
JavaServer Pages

O’Reilly’s Java Developers Page
Lots of great articles and links to Java and J2EE info.

A great article on EJB3 found through the former link: Standardizing Java Persistence with the EJB3 Java Persistence API, talks about persistence and coming from EJB2.