I wanted to compile my own SD2IEC firmware version for a long time. I started to create my environment several times but failed. Then came a bit stronger motivation: IEC-ATA made his SD1551 which is an SD2IEC (hardware) based device that connects to the Commodore 264 series (C16, C116, plus/4 and the rarities/prototypes: C232, C264, V364) expansion port and uses the TCBM protocol of the 1551 with SD card bases storage but with custome firmware.
My idea was that as the SD2IEC firmware already supports different hardware variants and bus implementations (Commodore serial, DophinDOS parallel, IEEE-488) we could easily add support for TCBM too and use all the other (like SD-card handling, filesystem, disk image and file handling, firmware update) functions from the original SD2IEC software. Of course I jumped on it but as soon as I was able to compile and flash firmware for my SD2IEC my enhusiasm faded as other projects got in focus. (I didn't give up but it got back beside the other numerous things :) )
So: this post was created to document what do you need to compile the firmware.
Only PSID format is supported (RSID requires a full emulated C64 environment).
On NAE cards C64 SID clock frequency is used with direct writes to the SID registers (so musics which update SID more than once within a single frame are fully supported)
On other SID-cards the register values are copied from RAM.
Currently there is no TED converter.
Works on both NTSC and PAL computers using correct timing for both VBlank and timer based musics.
Relocates itself in memory to allow loading SIDs everywhere.
SD2IEC directories and Dxx disk images (D64, D71, D81, stb) are supported.
Loading uses KERNAL routines so it's compatible with everything.
Edit: I've published the sources too. You will need 64Tass to compile (I've attached a batch file name make.bat for Windows).
I wanted a modern storeage for my favourite plus/4 a long time ago where I can store a lot of stuff on some kind of flash based solution. Based on a topic on plus/4 World I've decided to get an SD2IEC.
Just a quick post: today I've succeeded in repairing one of my SFD-1001s. Now I have two working units. :)
Last time I wrote that I found out that it has a defective 6502. MMSZoli just gave me a 1541C with probably a power supply fault. It responds (responded) to serial bus but disk operations failed. Even the power up cycle failed to spin the disk. So I have my first IC desoldering from this unit. I took off the 6502 and plugged it into the socket of the SFD. It just works fine. :)
Múltkor arckönyvön már említettem, hogy megírtam életem első EPROM-ját. (Persze elb@sztam nem lett jó). Sikerült rájönni a problémára, úgyhogy most megismételtem, közben néhány fotót is készítve. :)
Van egy dobozos C128-am (a lapos fajta), amire egyszer balfék módon ráejtettem egy REU-t, kb. 80 centi magasból, és a @ billentyűt remekül kitörte a helyéből. Kicsit morcos lettem, és Bithunter fórumán megkérdeztem, hogy van-e valami tipp, hogy hogyan lehet javítani. Azt mondták, hogy a C64C (ez a lapos változat) és a C128 billentyűzete mechanikusan azonos. Úgyhogy a Vaterán leütöttem 3db romos üres C64 házat billentyűzettel, mindösszesen 1Ft értékben. :)