World: r4wp
[#Red] Red language group
older newer | first last |
Kaj 5-Mar-2013 [5773] | The source is here: |
DocKimbel 5-Mar-2013 [5774] | As Kaj said, we do have somtimes odd issues on Windows with some third-party libs. |
Kaj 5-Mar-2013 [5775] | http://red.esperconsultancy.nl/Red-SDL/dir?ci=tip |
Paul 5-Mar-2013 [5776] | Yeah, I spend the days debugging control systems and lots of third party stuff. |
DocKimbel 5-Mar-2013 [5777] | I do my share too from time to time using IDA Pro. ;-) |
Paul 5-Mar-2013 [5778] | Yeah, I am familiar with IDA Pro, but we use WinDBG mostly. |
DocKimbel 5-Mar-2013 [5779] | I'm using it also sometimes, but IDA is really great. |
Paul 5-Mar-2013 [5780x2] | Yeah I hear good stuff about it. |
We do on premises debugging a lot in front of customers so we have to use WinDBG. Plus some of the software engineers I work with know the tool pretty well. I work with a lot of peole from Sybase, Siemens, Rockwell, GE | |
DocKimbel 5-Mar-2013 [5782] | I franckly sometimes wouldn't mind some more arms for debugging native stuff as it can be quickly time-consuming. |
Paul 5-Mar-2013 [5783x3] | not a problem. |
What native architectures are you targeting with RED? | |
We talking ARM, and Intel? | |
DocKimbel 5-Mar-2013 [5786] | Currently we support IA-32 (Pentium 1 being the lowest CPU supported) and ARMv5. |
Paul 5-Mar-2013 [5787] | Excellent. |
DocKimbel 5-Mar-2013 [5788] | In the future, we will target also higher version of ARM, Thumb ARM mode, and IA-64. |
Kaj 5-Mar-2013 [5789] | Fresh binaries have arrived in the test repository |
Paul 5-Mar-2013 [5790] | those binaries also exhibiting the same behavior? |
Kaj 5-Mar-2013 [5791x5] | Yes, the SDL problem has been very stable |
The easiest way to get all the files is to use the download.r script: | |
http://red.esperconsultancy.nl/Red-test/dir?ci=tip | |
Put it in a folder with a Fossil executable and just run the script with REBOL | |
http://www.fossil-scm.org/download.html | |
Paul 5-Mar-2013 [5796] | What all is that going to download? Just Red or does that include SDL also? |
Kaj 5-Mar-2013 [5797x2] | Not really Red, but the compiled executables in the test repository. The needed libraries are also in there, including SDL, so you can run the programs straight away from their folders |
The script also downloads the sources of all the bindings used, including the Red/System SDL binding | |
Paul 5-Mar-2013 [5799] | I was going to run download.r with REBOL but when I double clicked it - it launched. I'm assuming fossil.exe had something to do with that. |
Kaj 5-Mar-2013 [5800] | Fossil shouldn't affect that. What do you mean by launching? |
Paul 5-Mar-2013 [5801] | I wasn't expecting download.r to launch when I clicked to download it. What does Fossil do? |
Kaj 5-Mar-2013 [5802x2] | If you already had REBOL installed, you can always click on .r files and they will be started with REBOL |
Nothing to do with Fossil. The script calls it to check out the repositories | |
Paul 5-Mar-2013 [5804] | yeah but when I download it usually prompts to save it first as I don't have .r registered with the shell. I must have done something recently that re-associated it. Oh I installed ALTME. That was it. |
Kaj 5-Mar-2013 [5805x2] | If you run the script again, it will use Fossil to update everything to the latest versions |
Oh, it launched straight from your browser? Then you wouldn't know in what folder, I suppose | |
Paul 5-Mar-2013 [5807x4] | Ok, I'll do that in a few. |
Already figured that out. | |
I'll take a look at what I got so far and figure somethings out and setup my testing environment. | |
be back later. | |
Kaj 5-Mar-2013 [5811x3] | Great |
If you want to play with Red, the easiest is MSDOS\Red\console-pro.exe. That's the interpreter | |
GTK-browser should also be interesting | |
BrianH 6-Mar-2013 [5814] | Kaj in !RebolBot: "I think that only works in Red, refinements starting with a number :-)" Refinements that start with a number work in R2 and R3 as well. Path elements aren't refinements though, they're regular words or other values. If you find any basic data syntax differences between Red and R3 in datatypes that they have in common, report them: they're either a bug in R3 or in Red, or possibly in both. |
Kaj 6-Mar-2013 [5815x2] | I meant path elements. Of course, when they're used in a function call, refinements are written as paths |
I didn't test it, but not all differences between Red and R3 are bugs | |
Paul 6-Mar-2013 [5817] | Did a quick profile of play-sdl-wav.exe sample.wav into dependancy walker and ran it and can hear the sample play. It doesnt' play however when invoked directly from the command line. |
Kaj 6-Mar-2013 [5818x2] | Interesting. So it plays unmodified from a profiler? |
A timing issue would explain how it could be a soft bug, that actually works in the WINE Windows implementation | |
DocKimbel 6-Mar-2013 [5820] | I confirm Paul's findings, if I drag'n drop %sample.wav on %play-sdl-wav.exe, I can hear the music on Win7. |
Kaj 6-Mar-2013 [5821] | Nice, we're making progress. So still not direct from the command line? |
DocKimbel 6-Mar-2013 [5822] | No sound output, but the wav seems to be played til the end. |
older newer | first last |