Author Archives: jvaltane

Commodore 1541 disk drive replacement

I was previously using MMC Replay, 64HDD (PC DOS) or even Emul1541 (Amiga). Problem with free version of 64HDD was that it has limitations, it is DOS application and it is not open source. One problem with MMC Replay has not true 1541 emulation.

I started to look nice single solution for these use cases. Then I luckily checked what is current status of 1541 Ultimate. Gideon was taking orders from 1541 Ultimate-II at the time. I decided to place the order. 1541 Ultimate-II is replacement of Commodore 1541 using FPGA and microSD or USB mass storage. Another option was Chameleon, but its firmware is not open source and it is little bit more expensive than Ultimate-II.

Current 1541 Ultimate-II features:

  • USB storage, microSD, tape emulator with special cable
    • FAT support with long filenames
    • iso9660 with Joliet. For reading iso images
    • d64, g64, prg, t64, tap (with cable)
    • 1541 emulation or DMA load straight to memory
  • Commodore 1750/1764 REU
    • 128k to 16MB
    • nuvies. REU Movies works with 16MB
  • Cartridge emulation
    • EazyFlash. Read only
    • Action Replay
    • Retro Replay
    • Custom 8K/16K carts
    • etc.
  • Real time clock
  • Dual SID
  • SID player
    • Use real or emulated SID:s
  • Open source
    • sources available
    • hardware is not open

I started to wait the order. Finally after one month waiting hardware patch was ready to ship and got mine. Package contained actual device and 4GB Kington. I had bought already SD card, because I did not know that there is 4GB SD card. Anyway it is always good to have spare SD-cards.

I filled SD card with REU Nuvies, SID music, C64anabalt and other my favorite games and software, put it to Ultimate-II. Then realized that I need C64 serial cable to get 1541 emulation work. I found one short enough from my treasure closet. Connected everything and put C64 on. First I was little confused which button I should push to get filesystem menu to screen. Short instructions which came along the cartridge were helpful. It tells which button does what.

I was impressed how well it worked. Changing images (D64) worked nice and smoothly. Writing to D64 works also. Some cartridge images worked which did not work with MMC Replay. SID player worked just fine. It could be better but it works. I haven’t met perfect SID player yet. I tried to load REU movie and head first problem. Realized that problem was that REU was not on by default. I haven’t even seen configuration menu before. I set REU memory size to 16MB. I haven’t have any needs to change settings after that.

I also have C128D, but I realized that I could run in the trouble with internal floppy drive when using Ultimate-II with it. I didn’t want to make any modifications to machine. So my solution was to put the MMC Replay to my C128D and Ultimate-II to C64.

Ultimate-II doesn’t have yet all features I’d like to see like EazyFlash write support. At least it is open source so it is possible to add such things.

I still use x-cables (PC/Linux) and Easy1541 (Amiga) to transfer disks. Sometimes even MMC Replay.

My opinion is that 1541 Ultimate-II is nice piece of hardware.

gcc for TI 68k calculators

I created couple of packages and script to make cross toolchain, gcc and binutils, to TI 68k calculators easier. Script from cvs didn’t work without changes.

What I had to do:

  • get gcc package from calcforge:s source rpm. Any 4.1 gcc from GNU site didn’t work.
  • get and repack tigcclib from calcforge:s source rpm
  • combine two cvs trees to one

See script for details:

You can probably use source rpm to provide everything, but if you use the script do not forget to export TIGCC environment variable. After installation you also should add ${TIGCC}/bin to PATH.

Test configuration: 64-bit Ubuntu Oneiric, gcc v4.6.1
Tested TI examples: Hello World1 and Catalog

I got a lot of errors while compiling with gcc-4.6. calcforge provides binaries also to 64-bit Fedora so I think tools should behave well in 64-bit environment,

Source rpm:

Parallel transfer cable for TI calculator

Long time ago I made simple ski jump game to TI89 calculator. There is English also instructions at the start of the game. DoorsOS is required. At that time I used some IDE tool with Windows98 to create the game.

Couple of days ago I have an idea to check what applications and games people have made to TI calculators. A lot has happened. The current situation of Linux tools looks pretty good and TILP2 looked good application to transfer applications. So I decided to solder my own transfer cable. Previously I have used my friends Serial cable. Now for some reason I decided to build Parallel cable.

Result was quite good. Picture is not. I took that.

Cable also worked pretty well after I found compatible parallel port and settings. First PC didn’t work at all. Second worked after tweaking parallel port type. Cable should also be compatible with many transfer tools.

Pros are:

  • easy to build
  • works with quite many transfer tools

…and Cons:

  • new machines does not have parallel ports anymore
  • does not work with all setups

Amiga600 project

I have always wanted to have Amiga600 which is usable. Case is compact and looks good, but performance is not very good.

Individual computers bring new A600 accelerator retro folks called ACA630. It has 68030 processor and some memory. Same company also bring famous clock port to A600 which is integrated to one megabyte memory expansion card. Memory expansion name is A603.

ACA630-1 ACA630-2

A603-0 A603-1

I decided to get that kind of setup. About year ago I bought Amiga600 from my cousins and it was lying without any use some conner of my department. Scan doubler and use of cf-card sd-card as hd was also requirements of my project.

Then I started to think where to use clock port. There is USB-controller to the clock port. Sound insane to put something like that in the worst Amiga ever. After these upgrades it is not worst at all. I set order to the Vesalia, because they had everything else than ACA630 in stock. ACA wasn’t yet ready that time.

After two months waiting finally everything arrived. Package has arrived earlier but I missed the whole delivery for some reason. Waited two weeks and sent mail to Vesalia. They said that it has sent over two weeks ago.

First I putted A603 in, then ACA630, after that USB and finally Scan doubler. I tested also some combo sd cf card adapter as hd but it didn’t work quite well and cf-only adapter takes less room.
A600-0 A600-1 A600-4

Workbench look nice. This is without scan doubler

A600-2 A600-3 USB-0 VGA-0

I tested several USB devices. Most tested usb-pens, mouses, keyboards works nicely; DVD-drive if external PSU is used; Ethernet controller most of the time. One USB-pen had problems which identifies itself as CF-card.

When I had everything in place started to test machine with games. I found that sounds are distorted, which means dry or leaked electrolytic capacitors between Paula and output connectors.

Then some reason I broke pcmcia. It is the port/chips behind it or pcmcia network card.

So I still have something to pending with this project
1. change capasitors
2. check pcmcia card with other machine
3. add hole to cf harddrive and mount adapter properly
* to change harddisk easily
4. add on/off switch to set accelerator on or off

And finally special thanks to Mika Yrjölä. Mika took pictures which are used in this post.

Zak McKracken and the Alien Mindbenders

I finally found Zak McKracken to play with ScummVM. Actually there was quite many in the eBay at end of the year 2010. Version of the game I got is Atari STE. It has nice graphics which are identical to the Amiga version. Sounds are great. Package condition is OK as you can see from pictures.

zak1-small zak2-small

Zak McKracken is the first point and click adventure game I have ever tried. Somewhere begin of the nineties one of my friend has it with Commodore 64 and I sold my soul totally to this kind of games.

To complete game took only one evening. I remembered most of the puzzles. Zak is still one of most enjoyable point and click game.

Zak McKracken links
* Wikipedia
* Moby Games
* Zak2

A3000 memory problem solved

I have had problems with A3000 memory. When I bought it as used several years ago it had ZIP type chips added to motherboard. Then these started to loose and popped out twice per year. Finally I get enough for playing and removed ZIP:s and moved 1MB of chip DIP:s to fast memory side. 1MB chip and 1MB fast is not much. My A3000 have still so called 1.4 ROM which reads rom from disk to fast memory. ROM takes half megabytes of memory. A3000 project went to the ice for several months, because I didn’t find good and cheap solution to add more memory.

Then one day I found used GVP 4000 HC+8 SCSI Zorro board with 4MB of fast memory. Solution worked but I think it is stupid to have two SCSI-controllers in so small box. Another problem is to find suitable memory to GVP. 5MB fast memory is not enough for everything, but machine was usable.

Finally I found perfect solution for me: ZorRAM Zorro3 memory expansion. ZorRAM is produced and sold by Amigakit. There is 128MB and 256MB versions available. ZorRAM requires Buster V11, which fixes problems with Zorro3 DMA. Amigakit sells also Buster chips. I decided to order ZorRam 128MB and of course new Buster. Delivery from UK to Finland was very fast. If I remember right order was made at Thursday and next Tuesday I had memory expansion and chip at the post office. Nice.

Installing was easy. First I opened A3000 and removed all Zorro-cards. Then was turn of the equipment platform where power is sitting. Underneath equipment platform there is for example fast memory sockets, ROM:s and Buster. I removed old Buster carefully from socked without proper tools (with small screwdriver). Replace old one with new and putted equipment platform back. I started to add Zorro-cards from bottom to top. First I added GVP Spectrum 28/24. Spectrum have nice pass trough to video. By the way it is very usable with A3000 internal scandoubler. Second was ZorRam and last XSurf. XSurf have IDE-controller which I use. ZorRAM is small Zorro-card, as big as Zorro-connector on daughterboard. Memory expansion had nice markings which way it should be installed. “Backside” etc. You can not fit it wrong way if you keep your eyes open.

I turned A3000 first time without cover, because every time I have tested almost anything I have had to open it again. Not now, early startup show that everything was working. Then cover back over the machine and boot. I had never used Amiga with over 64MB fast. It worked and I was happy. I haven’t had time to test speed of the memory yet. It might be little slower than memory on cpu-expansions. Anyway 030@25Mhz is not so fast anyway. At least compared to my Mac mini with MorphOS or even 1200 with 060@50Mhz.

As soon as I get 3.1 ROM:s at the same I move 1MB fast RAM back to chip side. With A3000 I have never had any other than this memory problem. It is quite nice Amiga.

Picture of ZorRAM

VBCC Amiga M68k cross compiler

I wanted to compile cross compiler to the Linux which produces Amiga 68k binaries. So I needed 68k assembler. After some searching I decided to test vbcc, vasm and vlink. Long time ago I was using vbcc natively with Amiga and it worked nicely.

There is three different tools vbcc, vasm and vlink. Vbcc is iso C compiler. It supports C89 and subset of the C99. Vasm supports 68k, ppc, x86, 6502, arm, c16x/st10 and ColdFire assembly. Vlink can produce for example AmigaOS (68k/ppc/warpos), MorphOS and Atari MiNT binaries.

Why I want to do this? Amiga throws “guru meditation” too often with my 68k/Amiga assembly skills. It is also a lot easier and faster to use UAE for testing your binaries. Tools like editors, make are also same what I use to other development.

Instructions to compile and set up vbcc, vasm and vlink: vbcc-amiga-cross-compiler-to-linux.txt

Amiga in the USB stick

A couple of weeks ago I wanted to play Napalm with my Amiga, but there was a problem. My mouse didn’t work at all.

I decided to make a bootable USB stick with fullscreen UAE. Server installation of the Ubuntu Karmic was used as root filesystem. I have mini laptop and desktop machine. I wanted to use USB stick with both machines. E-UAE was used, because it is in the karmic repositories and E-UAE supports JIT.

First I tried setup UAE work with DirectFB. No X means more space to the games and applications. Almost everything worked fine with mini laptop. Problems: Amiga side has only one screenmode available. Another was screen refresh rate with desktop machines CRT-monitor. 60Hz makes me feel sick. The main problem was how to setup framebuffer so the same configuration could be used with several setups. This was not good solution.

Second option was to use X11. I used mingetty and bash profile to make system login automatic. GDM and KDM have too many dependencies and XDM does not suppot automatic login. There is no window manager at all. Everything worked great. I was able to select different screenmodes. No more 60Hz nighmare. Tried with USB version of the Competition pro, I recognised some delay when using it.

Where is an emulation used there is always problems. Problem with saving some screenmode with UAE on machine-1. Then try to use stick with machine-2, which does not support saved mode, Result is segmentation fault with the E-UAE. Workaround: Do not save any special screenmode. Amiga has option to use screenmode. Save something like 640×480 mode as default and then change it after every boot.

Napalm worked great. Even Superfrog was fully playable with atom n270 mini laptop. It is almost like using actual Amiga. I was satisfied with the result.

Instructions to create E-UAE USB stick: