Re: [M100] E-mail duplications

2018-11-12 Thread Willard Goosey
On Tue, 13 Nov 2018 07:56:28 +1030
Daryl Tester  wrote:

 
>  Of your smallC-100 update?  Only saw one copy, but I think
>  it's usually when you're replying to someone else's email
>  that it happens (having said that, I didn't see two replies
>  to Ken's email).
> 
So how about dis one?

Willard
-- 
Willard Goosey  goo...@sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard


Re: [M100] T-200 BASIC - Data and Restore...

2018-11-12 Thread Ken Pettit

Hi Scott,

The ROM only accepts immediate literal values.  You would need to do 
something like:


10 V = 2
20 ON V GOSUB 80, 90
30 READ X$
40 PRINT X$
50 END
80 RESTORE 100:RETURN
90 RESTORE 200:RETURN
100 DATA "One hundred"
200 DATA "Two hundred"

Ken

On 11/12/18 8:47 PM, Scott Lawrence wrote:


The "RESTORE" command... can it only take an immediate value, or is 
there a way to pass it a variable?


I want to do something like this:

10 V = 200
20 RESTORE V
30 READ X$
40 PRINT X$
50 END
100 DATA "One hundred"
200 DATA "Two hundred"

And i expect the output of:

Two hundred

Instead I get:

UL Error in 20


Or am I asking too much from BASIC? ;D

-s

--
Scott Lawrence
yor...@gmail.com 




[M100] T-200 BASIC - Data and Restore...

2018-11-12 Thread Scott Lawrence
The "RESTORE" command... can it only take an immediate value, or is there a
way to pass it a variable?

I want to do something like this:

10 V = 200
20 RESTORE V
30 READ X$
40 PRINT X$
50 END
100 DATA "One hundred"
200 DATA "Two hundred"

And i expect the output of:

Two hundred

Instead I get:

UL Error in 20


Or am I asking too much from BASIC? ;D

-s

-- 
Scott Lawrence
yor...@gmail.com


Re: [M100] E-mail duplications

2018-11-12 Thread Daryl Tester

On Sat, 10 Nov 2018 19:43:45 -0700, Willard Goosey wrote:


Once again hoping for 1 copy of this to go out?


Of your smallC-100 update?  Only saw one copy, but I think
it's usually when you're replying to someone else's email
that it happens (having said that, I didn't see two replies
to Ken's email).

--
Regards,
  Daryl Tester
  Handcrafted Computers Pty. Ltd.


[M100] ASX also updated!

2018-11-12 Thread Willard Goosey
The ASX assembler suite also updated to version 5.20.

It looks like the main thing fixed that is of interest to M100 people
is that the linker now has an option to generate type 1 (8-bit
data/16bit address) Intel HEX files with a type 1 (16-bit) execution
address. (*)

I'm going to thrash on this some to make sure it's happy, then I'll
have to update my makefiles for the new linker option.

(*)I don't know why anyone would do it any other way, but whatever.

Willard
-- 
Willard Goosey  goo...@sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard


Re: [M100] smallC-85 updated

2018-11-12 Thread Willard Goosey
On Sat, 10 Nov 2018 18:45:33 -0800
Ken Pettit  wrote:

> Man, I wish I had time to think!  :)  One of these days.
> 
> Ken
> 
:-(
I hope work slows down for you soon!

Willard
-- 
Willard Goosey  goo...@sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard