My journey experimenting with 6502 assembly and CC65

Greetings!

A while ago I slowly started experimenting with 6502 assembly while I read a bit about the subject. After some tinkering around, I really got excited with the idea of creating a NES game.

I sketched some ideas and ended up with a fantasy roguelike(so original!) and choose to use CC65(a C compiler for machines with a 6502-compatible CPU).

However, I ended up dealing with some pitfalls during development, like: 2 axis map scrolling, random map generation… heck! I wasn’t even able to export the music from FamiTracker into the code.

It was a new experience and provided me a lot of epiphanies, but nearly all tools are designed for Windows(even the emulator with debugger) and such difficulties really slowed my other ideas.

I am going to move the project to C#/SDL2, trying to keep as much as possible the NES limitations (pallete, resolution, sound) and on a future resume the NES version.

Build Report: Swollen Pickle (Modified Big Muff Pi)

Some years ago I developed interest in guitar pedal effects and stompboxes in general. Built a Woolly Mammoth that I learned a lot on the subject, then soon after a bunch of TubeScreamer Clones. I did it for personal use and to give to friends. Just as I started the TS projects, a long time fella presented me the Swollen Pickle MkII, a modified version of the famous Big Muff Pi.

The MkII version didn’t had any schematics or PCB layout on the internet. I only found a veroboard version of it, I really don’t like the veroboard layouts because they are clumsy and big. For the first time I used EagleCAD Software and tried to reverse engineer the layout back to the schematics. While still looking for more information I found a discussion with a non tested schematic and suggestions over that one. No working pcb layout though, so I continued to draw the schematic.

After I finished the schematics I started the board layout, like the schematic, I never did it before. It was a completely new experience for me, a mix of trial and error until everything fits on the board. With the finished board layout I had one more step: the enclosure.

After some measurements I chose a Hammond 1590XX for the enclosure and the aluminium etching method. I used the same tone transfer method as used for the PCB, but I ended up using caustic soda instead of ferric chloride. I had some bleeding on the edges because I used tape to mask and some bleeding where the toner didn’t transferred properly, maybe next time I will seal everything with nail polish and use ferric chloride instead. 

With the corrosion done, I sanded everything, painted the bas-relief with black spray, sanded again and applied varnish. I drilled it with my power drill, using one spade bit to start all holes(just the tip) and then used a step cone drill bit to the right size.

Nothing new with the PCB and Pedal assembly. I chose a super bright green LED as status indicator. It gives nice touch to the pedal, but ruined the video.

To the video I just downloaded some bass DI tracks over the internet and reamped them using the pedal.

Conclusion:

It was a long and complex project for me. If I had the opportunity to redo anything today I would test the aluminium etching on a small scale first. The Eagle CAD part was tiring, but insightful. As for the video the LED ruined it, but I was so tired and wanted to publish something, so I didn’t record another take.

You can download the used Eagle files, ready to transfer pcb layout and partlist on my GitHub repository.

Discoveries of the Month – January/2017

You may have noticed the lack of posts. It has been a very busy month and when I  got some free time I focused on some personal projects. But I got tons of drafts being worked and some experiments to show.

Web Development

Flexible Boxes by Will StoneOne of the dozens generators/playgrounds for CSS3 Flexboxes.

Tech

Landell de MouraPriest and scientist. Studied, along Marconi, Popov, Hertz, Brandy, Lodge, and many others, radio transmissions.
Music Macro Language: A music description language used in sequencing music on computer and video game systems.

Music

Velvet Acid ChristElectro-industrial band from Colorado that mixes a bunch of genres.

YouTube Channels:

wingsNpawsTeaches and gives tips of how to train parrots and dogs.
Michael New: Lessons on music theory and how to write music.
I Like To Make Stuff: Woodworking, welding, 3d printing, electronics… this guy works with every sort of thing.
Idea. Sketch. Build.: Small and new channel about woodworking. This guy has some neat solutions for those who don’t have a fully equiped wordshop.
Bisqwit: C++, ASM, Chiptune, Game password crackers. This guy codes everykind of nerd stuff.