Re: buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-16 Thread david
Quoting Tim Paveley : My guess is that the final label might be at some kind of page boundary, which trips up the code building the table. I haven't tried to look into it -- any volunteers...? So this may or may not be related but I've memories of long basic programs getting corrupted, and th

Re: buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-16 Thread Tim Paveley
My guess is that the final label might be at some kind of page boundary, which trips up the code building the table. I haven't tried to look into it -- any volunteers...? So this may or may not be related but I've memories of long basic programs getting corrupted, and the corruption would happen

Re: buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-16 Thread Simon Owen
On 15 Nov 2012, at 22:57, Marcos Cruz wrote: > What do you mean "auto-typed"? Text spooling? Yep, that's it! It's currently a Windows-only feature at the moment, but I'll extend it to support other platforms. > AFAIK SimCoupe lacks a file spooling option (in fact it is what I need: > SimCoupe

Re: buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-15 Thread Marcos Cruz
En/Je/On 2012-11-15 20:37, Simon Owen escribió / skribis / wrote : > To rule out a problem with KEYIN, I used LLIST to write the program to a > text file using the SimCoupe printer option. I then auto-typed the > contents back in to a freshly reset SimCoupe, What do you mean "auto-typed"? Text

Re: buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-15 Thread Simon Owen
This sounds like a problem I was looking at with Josef a few months back, where long ported programs failed on SAM. As far as I could tell it was a bug with LABEL management -- his problem listing used many labels (no use of KEYIN). I was able to narrow it down to a boundary case, as demonstrated

buggy KEYIN; MasterBASIC's tokenized format; buggy RENUM

2012-11-15 Thread Marcos Cruz
Hi all, Some time ago I wrote a toolkit to write MasterBASIC programs with the Vim editor (http://vim.org) and import them into SimCoupe (see http://programandala.net/en.program.mbim). It didn't work because the KEYIN command has bugs (in SAM BASIC, but MasterBASIC didn't fix them). In fact, a sim