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.
I EVEN got A REVIEW!!

a0863379711_10

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.
a0806609436_10

Anyways, hope y’all enjoy whomever you is!

Holy shit May 24th, 2014 by b-knox

20140524-003949-2389779.jpg

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() {
CWD="`pwd`"
CWD="${CWD##/*/}"
if [ "$CWD" == ".trash" ]
then
rm -fr ~/.trash/*
else
mv -i $1 ~/.trash/
fi
}
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

Alcohol is the intoxicating ingredient that is present in wine, beer, and spirits. It is a depressant, which means that when it reaches the brain, it slows down the body’s systems. Learn more about Revitaa pro supplements.

It can also be difficult for the body to process, putting extra pressure on the liver, the digestive system, the cardiovascular system, and other functions.

Alcohol is a legal recreational substance for adults and one of the most commonly used drugs in the United States. Even businesses are using https://www.royalvending.com.au/vending-machines-brisbane/ vending machines for extra snacks and why not alcohol too.

People consume alcohol to socialize, to relax, and to celebrate.

It is commonly misused among individuals of all ages, resulting in significant health, legal, and socio-economic damage.

In 2017, around half of all Americans aged over 18 years had consumed alcohol in the last month. Just over 9 percent of those aged 12 to 17 years had done so. This is how Phenq works.

According to the National Survey on Drug Use and Health (NSDUH), 15.1 million people aged 18 years and over in the U.S. had alcohol use disorder (AUD), or 6.2 percent of this age group.

Fast facts about alcohol.

  • Pure alcohol is a colorless, odorless, and flammable liquid.
  • Fruits and grains are the foods most commonly used foods to make alcohol.
  • Alcohol is the number one abused drug by minors in the U.S.
  • The liver can only oxidize about one drink per hour.
  • Alcohol is known to be harmful to developing brains, from before birth to adolescence.
  • No amount of alcohol consumption can be considered safe during pregnancy. Learn more about healthy supplements like Biofit probiotics.
  • Combined with other medications, whether over-the-counter (OTC) or prescribed, alcohol’s effects can be deadly.
Short-term effects
moderate drinkingShare on Pinterest
One to two drinks can make you feel relaxed.

Within minutes of consuming alcohol, it is absorbed into the bloodstream by blood vessels in the stomach lining and small intestine.

It then travels to the brain, where it quickly produces its effects.

The short-term effects of alcohol depend on:

  • how much is consumed
  • how quickly
  • the weight, sex, and body fat percentage of the individual
  • whether or not they have eaten

Drinking with a meal slows the rate of absorption, resulting in fewer side effects and less intoxication.

Signs of intoxication

At first, the person may feel relaxed, uninhibited, or giddy. As they consume more alcohol, intoxication may result.

Other signs of intoxication include:

  • slurred speech
  • clumsiness and unsteady gait
  • drowsiness
  • vomiting
  • headache
  • distortion of senses and perception
  • loss of consciousness
  • lapses in memory

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