The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound effects?
#16
LTee Wrote:Hmm... or maybe not. Something's not *quite* right still. The music will play once, but it doesn't exit properly at the end of the tune (or if you press a key) - the Spectrum locks up rather than ending play gracefully.

I'll paste what I've been messing around with, maybe someone else can see what the issue is:
I would say, the issue is the ASM data and the RET from ASM, before PLAY_MUSIC label.
this is a procedure, so RET would not return back to BASIC but to nirvana, and the ASM datas at the end would prevent correct returning further. I faced the same problem. The solution looks so:
Code:
Procedure ASM Routine (without RET), JP to [ASM Label Ending] replaces RET [ASM label data]: All Data [ASM Label Ending]: Again no RET! This is empty or ending code END Procedure
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)