Let Me Get Over – a hit single! November 23rd, 2015 by b-knox

Released back in July, I managed to get my ass onto the Chiptunes=Win Vol 4 compilation.  It’s a fun track.  I had fun writing, recording and producing it.  DJ Cutman did a good job mastering all the tracks.  Here it is below:

And here is a great review of it from the chiptuneswin blog!!

My first thought when hearing this song was “When did Primus start doing chiptunes?” Seriously, this is song is like slapping the extra adapter on your copy of Sonic 3 so you can play as Les Claypool in the Carnival Night Zone. This is the song I started to reference in the first paragraph with regards to road rage. This song, despite being jaunty and comical with its pizzicato strings and bouncy whistling under the vocals, is a song about dealing with idiot drivers and the rage that builds as a result. I didn’t realize songs could be cathartic in this way. After having done a lot of traveling tonight and coming back to hear this song, I can guarantee the lyrics, at some points almost spat through gritted teeth, get across a feeling I know quite well but until now had only been able to express via high-beams and finger gestures.

Two Releases this 2015 August 24th, 2015 by b-knox

This was my first in about 4 years. On 4/20/15 I released “Say Anything into your Phone” on bandcamp for $1.99 a POP! It features a modest runtime chock full of dirty sparkling beats and smack your buttface lyrics.


Then a month or so later, I put out “Imitation Crab Nebula” which is flarping free! It’s more or a less a collection of the best recordings I had done with my eurorack modular synthesizer during the first 14+ months of getting into that nonsense. Expect poly-rhythms and flarping melodies and anxious permutations of sonic infidelity.

Anyways, hope y’all enjoy whomever you is!

Holy shit May 24th, 2014 by b-knox


Holy shit I got a modular. Holy shit I got a new phone. Holy shit I can post about my modular with my phone holy shit.

DASM and the Atari 2600 VCS February 19th, 2014 by b-knox

I went through a bit of hell getting a ROM to compile.

dasm pitches.asm -f3 -opitches.bin

It was the -f that I was missing (that and my .asm wasn’t setup right). The -f3 makes it output a raw binary without a loading memory address header. The commodore computers use that head to tell them where to start loading a program into memory. Cartridge based systems usually always start at the same place so the header would be misinterpreted as code and bork ass.

Jeez. Not only is the system limited to 128 bytes of RAM on the top half of the zero page $80, but you can’t read from the TIA chip either. It’s write only. Keep track of that stuff yourself, k?

Now a bunch of related links :
2600 Specifications
Paul Slocum’s 2600 music guide
boomlinde macros
VCS Programming this one has links for DASM, VCS.H and MACRO.H
1st thing i got to compile

bouncing gumtard September 2nd, 2013 by b-knox

Time for another music vid! :D

I was cleaning up some deprecated and antiquated script files after refactoring them into a new one. Then I did something dumb. rm objectname* which included my new script I had worked on for about 4 hours. There is no undo for rm in the command line. This is not the first time this has happened to me. The lesson here, according to many linux msg boreds, is to learn not to do that or quit. I figured there has to be a way to backup deleted files.

If you have root access I suggest you install trash-cl, but if you are on a shared hosting account like I am this might be of help to you.

I decided to create a command called tr which is short for trash. I created a directory for the trash mkdir ~/.trash and in .bash_profile I added this code —
move_to_trash() {
if [ "$CWD" == ".trash" ]
rm -fr ~/.trash/*
mv -i $1 ~/.trash/
alias tr=move_to_trash

After saving your update you can source ~/.bash_profile and see if it’s working without reconnecting with the server. You can tr files just like you would rm them, except they are actually moved to the .trash directory. If you want to empty the .trash then cd ~/.trash and run tr. All gone! Maybe in a future version I’ll add recursive rm behaviours.

They’ll tell you this is a bad idea; that it creates a bad habit; that you should respect the power of rm and pay better attention to what you’re doing. That’s recockulous. Accidents happen. Especially with a fist full similarly named files.

Now here is a related video! :D

Between 17 professional programmers on IRC late one night, I stumbled across not only this problem, but the solution to it as well. The tricky part is that it’s a recursive process. You have to pipe to hell and back!?!? Maybe . . .

this gets you the number of lines in all php files
cat **/*.php | wc -l

this one lists all the files and their line counts
wc -l `find . -name \*.php`

Sweet! Battle of the Bits is over 30,000 lines of code! Did I do that?

props to jangler and wollymammoth

10 PRINT is a cute new book January 5th, 2013 by b-knox

Published last November, ’10 PRINT CHR$(205.5+RND(1)); : GOTO 10′ (yes, that is the entire official title) is an interesting traipse through all things related to running this one line program on a Commodore 64. Watch what it does when you RUN it —

Somewhere in the mid 80’s, I discovered those two slash characters could generate a maze like screen when I started manually entering them continuously. I had my own version of this program memorized, typing it in on occasion. It was three lines and not one, more often on the VIC20 instead, but the same program nonetheless.

The book’s website has a free PDF version for download. I didn’t exactly read the whole thing, but at least perused each page. Being someone who grew up on Commodore machines when they were still on the market, this book might be much more interesting to non-advanced users or younger generations curious about 8bit cpmuting. There’s a lot of interesting history, variations, and notes on randomness. But at times, it seems to read rather theoretical instead of definitive.

Chapter 55 discusses creating a port of this program to the Atari 2600 (or VCS) and I would have loved to see more assembly language on the subject. Perhaps reading it in a purely technical matter would be much more useful (and briefer) for me. I am probably not the ideal audience here. I’m not concerned with generality when it comes to 8bit computers. I want raw, applicable codes.

C64_Petscii_Chartspage 27 – Mentioned as a ‘quirk’, several character graphics repeated in the character ROM is actually an efficient design.  By default, most Commodore computers are in ‘unshifted mode’ meaning there are no lower case characters available which makes room for more graphical characters.  When ‘shifted mode’ is enabled the computer references the 2nd half of the character ROM.  Then on page 185, they mention that POKE 53272,23 switches the C64 to lower case text mode.  It’s not a ‘quirk’.  This thing is published by MIT?  Are these 10 authors computer scientists?  …and I won’t even get into the difference between PRINT CHR$() and directly writing to screen RAM with a POKE.

page 195 – Microsoft accepted the $25k deal for their BASIC instead of $3/unit royalty thinking that Commodore would hire them to update when they developed new computers.  Jack Tramiel, founder of Commodore, saved some pennies by never doing so, keeping the BASIC ROM down to 8kb.  The C64 could have had a whole new gambit of BASIC functions covering access to the SID and VIC-II chips responsible for sound and video respectively.  Both of those chips are much more powerful and difficult to program with BASIC POKE statements than their predecessor, the VIC chip, which handled both.  CBM BASIC’s updates were done internally at Commodore, correcting memory pointers so it would work on the architectures over a few generations of machines. (source; it also claims BASIC was sold for $10k)

I liked all the pictures! :D

Laura Palmer the drink December 11th, 2012 by b-knox

I was perusing a bar’s cocktail menu and saw a drink named Laura Palmer. The ingredients include Maker’s Mark whiskey, fresh sour mix, orange bitters and a cherry. Interesting combo, I would definitely give it a try. The cherry is more of a callback to Audrey Horn and that tie a cherry stem into a knot in your mouth trick than Laura Palmer. Oh well.

Ok, but is this drink really a thing? So I snooped around. I found someone describing a “citrusy/vodka” drink. Perhaps they meant this : equal parts tequila, triple sec, vodka with pineapple juice and lemon. I would try that also.

And then there is another camp on the Laura Palmer drink and that’s an extension of the Arnold Palmer which is a virgin drink made of equal parts ice tea and lemonade. All these recipes call for a dark liquor like spiced rum or Jagermeister. But these type of drinks have yet another name : the Schwarzenegger or the Californian Arnold Palmer. Obscure drinks named after household words, names and celebrities are likely to vary greatly. The Schwarzenegger can also be dark rum, brandy and a dash of lime juice. And to really round it out, here’s the Arnie Palmer : a shot of vodka, fill with lemonade, splash in some ice tea.

I tried to find a video of Laura Palmer and Donna Hayward doing a shot at the bar with them two studs, whats-his-name and Buck. I remember it being a dark liquid, but am not sure. I did, however, find this awesome Sesame Street parody of Twin Peaks though!!

Regardless which route you go should you have a Twin Peaks party, you might not want to try this drink —

Nintendo History Info Porn November 12th, 2012 by b-knox

Today, in my inbox, I found this wonderful infographic by Chloe Carter.  Yes, it has the ‘Offical B-Knox Seal’ of approval!  I always thought Mario had to be more popular than Mickey Mouse!!!

Created by: MBAOnline.com