r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[rebcode] Rebcode discussion

Henrik
27-Feb-2007
[2139]
works in rebview13611031.exe here
Pekr
27-Feb-2007
[2140]
ok, thanks ...
Henrik
27-Feb-2007
[2141]
sorry, 1361031 it is
Pekr
27-Feb-2007
[2142x2]
yes, well, that is so cool :-)
although I wonder if rebol can be fast enough - still sluggish ....
Henrik
27-Feb-2007
[2144]
it probably can, if rebcode is allowed to write straight to a display 
buffer rather than through View.
Pekr
27-Feb-2007
[2145]
ah ... hmm, we will see what new View comes up with ...
Henrik
27-Feb-2007
[2146]
there are also some time wasting color conversion going on. if that 
could be done in 1-2 ops, it would be much faster.
Pekr
27-Feb-2007
[2147]
but it shows nice potential, doesn't it? Especially if something 
like ZX Specturum could be emulated :-)
Henrik
27-Feb-2007
[2148x2]
yes, definitely
steeve, you could probably make your file even smaller by enbasing 
the game rom in source.
Steeve
27-Feb-2007
[2150]
i removed some debug instructions, it's a little more faster now. 
Don't forget i have to rewrite the video emulation too. So it will 
be definitivly faster (i hope).
Pekr
27-Feb-2007
[2151]
hmm, but nice anyway ... Steeve - if you find anything what could 
improve rebcode, discuss it with Brian eventually and put it in RAMBO 
:-)
Oldes
27-Feb-2007
[2152]
Pekr, do you really think it's sluggish? For me it's too fast to 
play even in the zoomed version:]
Henrik
27-Feb-2007
[2153]
I ran it through remote desktop on Windows via OSX. speed was a little 
slow, but ok
Coccinelle
27-Feb-2007
[2154]
Bravo Steeve.
Steeve
27-Feb-2007
[2155x2]
ah merci
bon faut que j'aille au boulot moi
Pekr
27-Feb-2007
[2157]
co to? :-)
Oldes
27-Feb-2007
[2158x2]
Babel: bon faut que j'aille au boulot moi = good is necessary that 
I go to the job me :]
probably not the best translation
Dockimbel
27-Feb-2007
[2160]
Human: Well, I need to go to work.
Steeve
27-Feb-2007
[2161x2]
speed improvement of http://perso.orange.fr/rebol/galaga.r

all video routines have been translated into rebcode, but it' s not 
so fast than in my dreams.

- Added a button to switch Draw randering between bilinear and nearest
*as in my dreams ?
Anton
27-Feb-2007
[2163]
Getting better. :)
Steeve
27-Feb-2007
[2164x5]
yeah and now u can try i with sound (same adress)
some problems to recogniez the original music
argh !!!
*recognize
i must add a trick to negociate the good frame rate
Anton
27-Feb-2007
[2169x3]
warning: sound port is really buggy and destroys your samples over 
time.
I don't think the current sound-port implementation is worth bothering 
with.
hmm... maybe you can maintain the fidelity of your samples by inserting 
copies of your original samples.
Steeve
27-Feb-2007
[2172]
yep, i fear that
Anton
27-Feb-2007
[2173x2]
I had success with external library interface and FMOD audio library, 
but it's not cross-platform (or open source).
The good work is to find a nice little open-source audio library 
for playing samples and try to integrate it into rebol.
Steeve
27-Feb-2007
[2175x2]
i think if i let the sound like that, RT peoples  will have a headhash 
and will implement a correct sound port  soon.
so , i will add a mute button
BrianH
28-Feb-2007
[2177x3]
I forget, has OpenAL been ported to Windows yet? Perhaps that will 
work, Anton.
The source for Media Player Classic has a lot of good source, as 
does ffdshow.
Sorry, the source _site_ has a lot of good source _code_ :)
Anton
28-Feb-2007
[2180]
OpenAL looks good. Will have to try that later.
Rebolek
28-Feb-2007
[2181]
what about portAudio?
Anton
28-Feb-2007
[2182]
um.. I had a bad vibe about portAudio, I think.
Rebolek
28-Feb-2007
[2183]
why?
Anton
28-Feb-2007
[2184]
I think it was the use of integers between 0-100 to represent volume, 
or something like that.
Rebolek
28-Feb-2007
[2185]
oh
Anton
28-Feb-2007
[2186]
Not even floats. ridiculous. That's if my memory serves me correctly, 
of course.
Rebolek
28-Feb-2007
[2187]
that's really strange
BrianH
14-May-2007
[2188]
Development on rebcode was temporarily discontinued, but will return 
with R3. The old versions are still out there, Windows only.