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

World: r3wp

[rebcode] Rebcode discussion

BrianH
24-Feb-2007
[2124]
Good night.
Sunanda
24-Feb-2007
[2125]
Steeve <BTW, why rebcode thread is not on rebol.net ?>

Technically, it is because the group's description does not have 
"[web-pubiic]" in it.....Add that text to the description, and the 
last 300 messages will be on REBOL.net in around 10 minutes.
***

I suspect no one did that either for the reason BrianH suggests, 
or because no one has thought to do it.

I don't see any reason why it should not be a [web-public] group, 
but I'll leave the changing of the group description to the active 
participants. (hint: right-click the group name in the left-hand 
side list of groups)
Pekr
24-Feb-2007
[2126]
Why not to write down your logical conclusions and throw them at 
RAMBO?
Steeve
24-Feb-2007
[2127]
done
Steeve
26-Feb-2007
[2128x7]
2 bugs found: poke doesn't work with tuples and when we poke an image 
with a  RGB tuple value , RGB channels are mixed in a strange manner.
new version of  galaga.r http://perso.orange.fr/rebol/galaga.r
use rebcode but not for the video emulation, so we can get it faster, 
soon...
only 86kb for the source + game rom
(game rom include)
this demo is the first stone of the future MSX emulator, but we could 
emulate lot of computer based on Z80 ship.
the next step is to  include the PSG emulation, yeah ! we will have 
music too.
Graham
27-Feb-2007
[2135]
hey, what about a 6502 emulator ??
Anton
27-Feb-2007
[2136]
Impressive, Steeve.
Henrik
27-Feb-2007
[2137]
wow, that's great, Steeve!
Pekr
27-Feb-2007
[2138]
I am getting some error - which is the latest rebcode release?
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
[2173]
I had success with external library interface and FMOD audio library, 
but it's not cross-platform (or open source).