.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old April 3rd, 2008, 01:02 AM
AgentZero's Avatar

AgentZero AgentZero is offline
Captain
 
Join Date: Apr 2003
Location: Burnaby
Posts: 995
Thanks: 0
Thanked 3 Times in 2 Posts
AgentZero is on a distinguished road
Default Re: OT: An odd little question

Yeah...

Thing is, the thing has a whopping 8k of memory, so any program we write is in it's own little assembly language, which involves using little 2-4 byte codes that represent a command, then a 2-4 byte code that represents the data that the aforementioned command is supposed to use. So something like 3e10 would mean "Transfer 10 into Register AF", or 770280 would mean "Transfer the contents of memory address 8002 (because you have to enter memory addresses backwards for some reason) to Register C6".

Now apparently, somewhere there's a command for Call Tone, that takes a code that represents a musical note and a duration, so getting this thing to play music would involve entering a series of Call Tone commands with the right combination of notes/durations to play a song.

I know what the code for Call Tone is, but I don't have the combination of notes & durations to produce a song, and I can't simply grab a music sheet since I don't know what the codes are for the various notes & durations either.
__________________
Suction feet are not to be trifled with!
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:12 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.