Jump to content
Jet Set Willy & Manic Miner Community

A test file for JSW


Norman Sword

Recommended Posts

Re Game Over.

In JSW their are a multitude of sound effects.

The title tune and in game tune plays their notes in a differing method to all the other sound FX's.
Both the title tune and in game tune attempt to play the note over a fixed period of time.

Your simple demo routine plays the tune, were each notes length is dictated by its pitch. The overall length of each note is the product of a fixed length and a pitch variable. This has several repercussions. The obvious visual one is the speed change in the boot as it descends. The obvious audio effect would be shifting tempo.

Your routine might benefit from using a routine more similar to the in game tune routine. Whereby the length of each note is fixed (sort of). 

;in game tune
;Pitch of note held in D which should be copied to E before playing
;a=border colour
8B60 LD BC,$0003                 ;length of the note overall
8B63 OUT ($FE),A
8B65 DEC E
8B66 JR NZ,$8B6B
8B68 LD E,D
8B69 XOR $18
8B6B DJNZ $8B63
8B6D DEC C
8B6E JR NZ,$8B63

Since this plays slower, this would also require new music data

 

 

 

Link to comment
Share on other sites

Thanks Norman.

 

I was aware that I had implemented a 'quick and dirty' solution, which causes the changes in duration of the notes. (It's probably a deliberate effect in the original routine, as the increasing pitch causes the Monty Python foot to speed up as it descends onto Willy.)

Edited by IRF
Link to comment
Share on other sites

In the attached, I've tweaked my Game Over test file in accordance with Norman Sword's suggestions.  I've also come up with a way of having a pause instead of (but of the same length as) a note, to punctuate the music.  That required four additional bytes in the code, and the use of the value '01' in the music data to denote the 'dead notes'.

Game Over Test 2.z80

Link to comment
Share on other sites

  • 1 month later...

My third and final attempt at the 'Funeral March' is implemented in the attached.  B)

 

(Apologies to Norman Sword for hijacking this thread somewhat!)

 

I like that its very good. :) My only slight suggestion (and it is off topic somewhat) the attribute cycling does not seem to suit it. I'd suggest either just blue/black or perhaps none ? Blue/Black is quite easy to do, the 'C' projects both have this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use.