see replay...............

Page 1/2
| 2

By norakomi

Paragon (1136)

norakomi's picture

09-06-2005, 13:01

I have experimented with Sound Effects Editor quite some time (I love the programm !!!!)

But I cannot seem to get it to replay in wbass2.......
I only get some vague sounds, which are not the sound effect the programm should play...
I have been calling see_in, setsfx, main.a, main, cutsfx, see_ex randomly,
but .....no good

does anyone have a simple .asm file for me, in which a soundeffect IS play
the way it should........ (in SEE)
or has anyone experienced the same problem,,,,

thanx

Norakomi
qz3@811m.com

Login or register to post comments

By ro

Scribe (4914)

ro's picture

09-06-2005, 14:05

hey, nice 2 read u love the programm Smile

did you check the ADDRESS and MAPPING vars? sound to me RAM addressing is wrong (oh, you DID load the data, did ya?)

set these vars for correct memmap+ramadr:

SEEADR: DW &H8000 ;Base address
SEEMAP: DB 1 ;Mapper

to use SEE, put SEEINT on the ISR (interrupt). prolly the version u use already has that build in, this is the exact code in the replayer:

; set SEE on Vblank Hook
DI
LD HL,H_TIMI ;Store intr. hook
LD DE,OLDVBL
LD BC,5
LDIR
LD DE,H_TIMI ;Set new intr. hook
LD HL,NEWVBL
LD BC,5
LDIR
EI
AND A ;[Cy:0]
JP RETURN

then call SEE_IN to initialize the replayer
now you can use SETSFX to replay an effect

JP SETSFX ;Set a new sound effect
; In: C, SFX nr
; B, priority (0, low / <>0, high)
; Out: Cy, 1=SFX not set -> A, error nr
; 0, SFX doesn't excist
; 1, previous SFX still playing (higher prior.)
; 255, SFX not defined (OFF)

By norakomi

Paragon (1136)

norakomi's picture

09-06-2005, 14:43

cewl !!!
ill do that right away !!

I did load the SFX file (although, im not quite sure of this)
in the bottom of the see3play.asm file there is something like
SEE_ID: DM "SEE3EDIT"

I guess I can put my .SEE file here, like
SEE_ID: DM "QUARTH "

is that right???

By norakomi

Paragon (1136)

norakomi's picture

09-06-2005, 14:43

oh yeah, one more thing.....

do you have some more example files for me to use?????
(im looking for sfx I can use for shooters......)

By norakomi

Paragon (1136)

norakomi's picture

09-06-2005, 14:45

oh, yeah (hehehe)
before I start playing my soundeffects should I also bload "see3boot.bin" (or is this only the programm...?)

By ro

Scribe (4914)

ro's picture

09-06-2005, 15:13

cewl !!!
ill do that right away !!

I did load the SFX file (although, im not quite sure of this)
in the bottom of the see3play.asm file there is something like
SEE_ID: DM "SEE3EDIT"

I guess I can put my .SEE file here, like
SEE_ID: DM "QUARTH "

is that right???
NO!! it's the file identifier to check if the file is SEE3 format. only change the vars at the top of the source.
these 4:

; [Vars]
SEEADR: DW &H8000 ;Base address
SEEMAP: DB 1 ;Mapper
SEETID: DB 0 ;Timer I.D. 0=SEE (uses "H_Timi")
; 1=Own timing (from other ISR)
SEEVOL: DB 15 ;Maximum Volume (makes real volume relative!)
; (this option is not 100% yet)

By ro

Scribe (4914)

ro's picture

09-06-2005, 15:15

you have to load the .SEE file yourself. there's no loading routine in the REPLAYER (it's a replayer, not a loader)

and NO you don't have to bload"see3boot.bin" cuz thaz only the EDITOR. you only need the REPLAYER. thaz it.
good luck.

ps. I'm on a holiday for the next comming 10 days, so I can't help you any further.. good luck. it's really simple...
cheers

By ro

Scribe (4914)

ro's picture

09-06-2005, 15:16

By norakomi

Paragon (1136)

norakomi's picture

09-06-2005, 19:01

Ill figure it out now !!
thanx and have a nice vacation !!!! (where are you goin?)

By norakomi

Paragon (1136)

norakomi's picture

15-06-2005, 14:00

Ok, I figured it out....

I have loaded the file as followed:

page 2,3,0,4
dload "quarth.see",$8000

and in the replayer I make sure that the file is loaded from bank 4.

However there are some question, please help me....

The replayer will only work when I put it at $c000,
all other locations won't work......

Why is this?????

And... The song will only play if I put it in $8000......
If I load the song at (lets say) $D000,
and change the bank setting in the replayer file ($FE to $FF)
the replayer does not work...

Why does the song HAVE to be loaded at $8000,
and the replayer at $C000??????

By norakomi

Paragon (1136)

norakomi's picture

17-06-2005, 13:18

I've got my sound effects file loaded into page 2, bank 6.
I have my sprite character, sprite colors and sprite movement patterns
loaded into page 2, bank 4....

Calling SFX on the interrupt in my main game makes little changes some times
in the sprite characters and colors........... ??????????

Page 1/2
| 2