My Commodore 64

Commodore 64 Logo

Recently on eBay I purchased a used Commodore 64 along with a 1541 floppy disk drive and a data tape drive in an excellent (collector’s) condition, I still haven’t received it yet, but should be on it’s way from Germany as I type away. This computer brings back fun memories when I owned the Commodore 128D computer with the built in floppy disk drive, and I was able to switch between 64, 128 and C/PM modes. I learned my BASIC  and Assembly programming on this computer, and I use to buy all the magazines that target the home 8 bit computer that came along with demo games and software on a cassette tape for the Commodore stuck on the cover page. I have also bought a pair of new retro atari look a like joysticks and a programmable flash cartridge for development.

Commodore 64Commodore 64 Breadbox Version.

You can download the Commodore 64 emulators from the Internet and run all your favourite games and software from a disk, tape and cartridge image diles. Or you can connect physical Commodore 1541 floppy disk drive to you PC with a home made serial to parallel interface which will allow you to restore the image file back onto a physical floppy disk. Well that’s my plan I have already ordered components to build this interface and it not that expensive. There are other things you can do with the emulator that I have seen on the Internet why by someone has connected the Commodore 64 keyboard to their PC by USB, and use as the keyboard for the emulator! There are few different C64 emulators you can get and the most popular one seem to be VICE, why not go and try it out for yourself. (more…)

C#: How to get your computer and user name.

If you want to get your computer and user name from Windows in C# try this by using the WindowsIdentity class from System.Security.Principal namespace:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            System.Console.Out.WriteLine(WindowsIdentity.GetCurrent().Name);
        }
    }
}
Shares