flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vhanla 28 May 2007, 22:40
Hi, I need to use a segment which holds a VOC sound, but when I use
segment sound entry 16 that directive I guess creates a segment.... however, How can I access that place, using LEA AX,[sound]? Should I use that segment label as a normal label... since I cannot use lea ax,[sound] I need your help, because I want to play music from an entire Segment, I tried allocating memory, however it shows me some errors when I end my program, something like error in COMMAND.COM... BTW: maybe you're interested in looking at my game in progress, it needs a lot of optimizations he he he ![]() I compiled a source from here, from there, from wherever it came... http://vhanla.googlepages.com/falix.rar ![]() _________________ I'm just trying to start, help me!!! Last edited by vhanla on 30 May 2007, 20:01; edited 1 time in total |
|||
![]() |
|
vhanla 30 May 2007, 20:23
Ok, thanx.
BTW: I figure out that my link didn't work, so I uploaded a googlepages... http://vhanla.googlepages.com/falix.rar I need suggestions for handling well a long voc or wav sound... I have troubles with the synchronization, I cannot figure out how to catch the right moment to change the sound so it plays a long time sound... The function to assign a segment and offset for DMA is "procMusic", i guess that is correct, I'm not sure if the loaded bytes of the sound would be the sound length... HELP ME.... I'm using "ready db " to detect when the sound finishes ![]() _________________ I'm just trying to start, help me!!! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.