Jump to content





Fooling around with assembly part 3

Posted by atari2600land, 08 November 2017 · 121 views

Last night I went to work on this thing again. I had an idea for a song that had a pattern of 7 short notes followed by a longer note. And for the life of me I couldn't get it to work! I tried everything and spent about an hour looking at previous codes I had done and then trying them in this thing but nothing worked until I decided to try the sequence backwards. That worked. So now that part of the code looks like this:

        lda MusicPtr
        cmp #32
        bcs ResetNoteTimer    
    
        lda MusicPtr
        cmp #24
        bcs LongNote18
    
        lda MusicPtr
        cmp #16
        bcs LongNote9    

        lda MusicPtr
        cmp #8
        bcs LongNote18
But I had to separate the long note into 3 notes, but it still just sounds like one long note because there's no pause at the end of the notes. Perhaps I will male a game about my history teacher eating lemons, and will use this as a title screen. I mean, I already did the title screen, and I have an idea for game mechanics. And it only uses one button. So now I guess I'll see if I can implement it.
 
My mom still wants to die and still keeps bugging me for all her pills so she can take them all and die. But the problem is (despite the fact that it's super-annoying), she probably won't die and just have a stroke and be paralyzed or something. I am sick of being a caregiver and having pills in my pockets and hiding the pills I have to take. She keeps saying she can't eat for some unknown reason and drinks Boost sometimes. Perhaps she won't eat because she wants to starve to death? I don't know, but I'm sick of it anyway.

Attached Files






Your mention of music reminds me of some short tunes I made for some VIC-20 games I tried to write when I was about 10 years old. Somewhere I've got the program on tape, perhaps I should bring it out and let my 40++ year old self finish what I was unable to do as child.

  • Report
I hope your Mum is okay :(
  • Report