Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-09 Thread Leopold Toetsch
Matt Diephouse <[EMAIL PROTECTED]> wrote: > Here's a first pass at that. I've changed it to: >- make use of the shortcuts for calling subroutines >- use ".sub" >- use ".local" Thanks, applied. leo

Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-08 Thread Matt Diephouse
On Tue, 8 Mar 2005 09:51:38 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > BTW: examples/assembly/ncurses_life.imc is one of the oldest PIR files > in the whole tree and therefore written in quite an antique style. > > If someone wants to exercise rewritting it to recent PIR it would become >

Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-08 Thread chromatic
On Tue, 2005-03-08 at 08:29 +0100, Uwe Voelker wrote: > What is the difference of the .imc file? They both look _very_ similiar. > I could try to port the demo. Do you have a few hints, what needs to be > done. PASM is the simplest, most tedious language that Parrot supports. PIR is nicer. Of

Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-08 Thread Uwe Voelker
if I try the ncurses_life.imc demo I get the error "Null PMC access in invoke()". Apply this patch, then let me know if it fixes it for you so that I can check it in. Yes it works! It might be better to port the demo to use the ncurses.imc file, as it looks more recent, but this is the quickest p

Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-08 Thread Leopold Toetsch
Uwe Voelker <[EMAIL PROTECTED]> wrote: > if I try the ncurses_life.imc demo I get the error "Null PMC access in > invoke()". Thanks for reporting, fixed. BTW: examples/assembly/ncurses_life.imc is one of the oldest PIR files in the whole tree and therefore written in quite an antique style. If

Re: [Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-07 Thread chromatic
On Mon, 2005-03-07 at 20:43 +0100, Uwe Voelker wrote: > if I try the ncurses_life.imc demo I get the error "Null PMC access in > invoke()". > I'm sure it has problems with the ncurses NCI. How can I solve the problem? Apply this patch, then let me know if it fixes it for you so that I can check

[Parrot 0.1.2] examples/assembly/ncurses_life.imc error

2005-03-07 Thread Uwe Voelker
Hello, if I try the ncurses_life.imc demo I get the error "Null PMC access in invoke()". This is the debug output: [EMAIL PROTECTED]:~/tmp/parrot/examples/assembly> parrot -d ncurses_life.imc *** Parrot VM: Setting stack top. *** *** Parrot VM: Slow core *** *** Parrot VM: Setting up ARGV array