Jump to content
  • entries
    4,948
  • comments
    2,718
  • views
    1,808,802

Fooling around with assembly part 3


atari2600land

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

2 Comments


Recommended Comments

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.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...