Blog

The English part of my blog is mainly technical. If you can read Italian, check the Italian section for articles of other kind.

Mount Flat VMWare Disk Images Under Linux

I use a VMWare virtual machine to run my favorite software anywhere. It is a very nice solution, nevertheless when I run it at home I feel quite frustrated for not being able to run it on real hardware.

The easiest solution is to mount it as a local drive and access files from a real Linux installation. VMWare server provides a tool to mount vmdk files, but I don't want to install it just to be able to use that command.

Fortunately, I'm using a flat VMWare image, and this makes possibile to mount the image vithout any special tool. After all, the flat vmdk file is just a raw image of the disk, so you just need to use it as a loopback device.

Let's assume that the disk image is located at /diskimage-flat.vmdk (quite unlikely, but it's OK for an example) and that there are no other loopback devices in use (i.e. /dev/loop0 and /dev/loop1 are free). The needed commands would be:

losetup /dev/loop0 /diskimage-flat.vmdk
losetup -o 32256 /dev/loop1 /dev/loop0
mount /dev/loop1…

Read more

Casio FX-880P

Note: this article is very old and was part of my website more than ten years ago. I got it back again due to my affection for that wonderful programmable calculator.

I'd like to share tricks and programs suitable for this excellent pocket computer by CASIO. I've discovered a lot of hidden features of this calculator. Do you want to try some new BASIC commands? These are not documented on the User Manual, but they are extensively used in the Scientific Library. I can also tell you how to connect your calculator to your PC with a few money.

Here are some of my programs for the FX-880P.

The first is a game: The Little Castle. It uses the graphics of this calculator over their limits... you will see castles, towers, swordsmen, candles, cars, bats, treasures... you need a little bit of fantasy, this is not a 32-bit 3D Voodoo Graphics action game, but if you like FX-880P, this should be a must for you. If you enjoy this, please let me know your opinions about it. Note:…

Read more

Search

Tag Cloud