Re: [M100] Books on programming

2020-01-14 Thread John R. Hogerhuis
On Tue, Jan 14, 2020 at 3:22 PM Peter Vollan  wrote:

> Well I dunno, that DM's Personnel Service program was written to work
> on a variety of microcomputers, and the TRS-80 is mentioned.
>

The exception that proves the rule :-)

Indeed some books and magazine tried to cater to a broad swath of the
micro/home computer market. Or as in the case of the DM Personnel Service,
a magazine that wasn't microcomputer related at all.

Such programs tried to target a cross compatible subset of BASIC.

-- John.


Re: [M100] Books on programming

2020-01-14 Thread Peter Vollan
Well I dunno, that DM's Personnel Service program was written to work
on a variety of microcomputers, and the TRS-80 is mentioned. I don't
think they meant the model 100 but it runs on it just fine.

BTW It is in the manual's description of STR$ that it is expained that
positive numbers have a leading blank that may need to be trimmed when
you turn a number into a string. What I said before was essentially
backwards.

On Tue, 14 Jan 2020 at 07:52, James Zeun  wrote:
>
> I'm certain I've read a couple of times, that programs for the TRS-80 colour 
> computer work on the M100.
>
> I'm guessing they share the same version of BASIC.
>
>
>
> On Tue, 14 Jan 2020, 7:00 am Ariel Millennium Thornton, 
>  wrote:
>>
>> Hi, folks!  Long-time lurker and 100 owner popping up.
>>
>> It's on pages 169 and 170 of the owner's manual, in Chapter 16 (BASIC
>> Keywords), in the descriptions of the PRINT, PRINT #, and PRINT USING
>> commands.
>>
>> In the PRINT USING command description, the field specifier that
>> inserts a blank for positive numbers' signs is the "-" character.
>>
>>
>> (Unrelated, my copy contains an error right above that, in the "+" field
>> specifier description:  It gives
>>
>> PRINT USING "#-";14
>>14
>>
>> instead of
>>
>> PRINT USING "#+";14
>>14+
>>
>> as the end-of-number example.  What's in the manual is technically
>> correct but probably not what they meant.)
>>
>> ~ArielMT
>>
>>
>> On Mon, 13 Jan 2020 16:59:41 -0800, Peter Vollan wrote:
>>
>> > This is explained in the Model 100 user manual, although now I cannot
>> > remember where, and turns up in other early Microsoft products. Where
>> > negative numbers have a dash, positive numbers have a space, and this
>> > needs to be taken into account if you have occaision to turn a number
>> > string into a mathematical value.
>> >
>> > On Mon, 13 Jan 2020 at 16:02, James Zeun  wrote:
>> > >
>> > > So this evening
>> > >
>> > > I was reading one of my programming books.
>> > >
>> > > https://drive.google.com/file/d/0Bxv0SsvibDMTUzdWckVpSUlIb0E/view?usp=drivesdk
>> > >
>> > >
>> > > I'm not far in (page 5) and already something has pop up that
>> > > didn't work as expected.
>> > >
>> > > PRINT "TOTAL=";2*17
>> > > TOTAL=34
>> > >
>> > > On my M100
>> > >
>> > > TOTAL= 34
>> > >
>> > > The M100 inserts a space after the equal sign. When according to
>> > > the book a semi colon should leave no space.
>> > >
>> > >
>> > > -James
>> > >
>> > >
>> > > On Thu, 9 Jan 2020, 10:31 pm Peter Vollan, 
>> > > wrote:
>> > >>
>> > >> I know that there is a program called D20 for dice rolling. Does
>> > >> anyone out there know where it is???
>> > >>
>> > >> On Thu, 9 Jan 2020 at 14:19, James  wrote:
>> > >> >
>> > >> > Peter sorry it took me a while to answer this, but here goes
>> > >> >
>> > >> > At present we are playing a 5th edition game, have been for
>> > >> > about a year. I keep having to replace my character sheet and
>> > >> > did wonder if I couldn't program something on my M100. Like an
>> > >> > electronic 5e character sheet. Presently I don't have a clue how
>> > >> > such a thing could be achieved, but I do have an idea of how it
>> > >> > might work.
>> > >> >
>> > >> > A primary screen showing character stats and a second page for
>> > >> > inventory. Perhaps toggling between the two using the tab key.
>> > >> >
>> > >> > I myself have been reading up on D Basic, as found in the
>> > >> > Cyclopedia TSR 1071. I own the 1070 boxset which as i understand
>> > >> > it was when TSR combined Basic, Expert, Companion and Master all
>> > >> > in to one.
>> > >> >
>> > >> > If I can make a set of DnD tools would i use my M100 to manage
>> > >> > my DnD games? You're damn right I would!
>> > >> >
>> > >> >
>> > >> > On 08/01/2020 1:56, Peter Vollan wrote:
>> > >> > > What edition do you use?
>> > >> > >
>> > >> > > On Tue, 7 Jan 2020 at 17:06, James Zeun 
>> > >> > > wrote:
>> > >> > >> Great, I'll have to check that out!
>> > >> > >>
>> > >> > >> I'm currently checking out all the books that have been
>> > >> > >> suggested to me.
>> > >> > >>
>> > >> > >> Really difficult to find physically books.
>> > >> > >>
>> > >> > >>
>> > >> > >> On Wed, 8 Jan 2020, 1:03 am C. Magaret, 
>> > >> > >> wrote:
>> > >> > >>> "Dragon" was about role-playing games, primarily D
>> > >> > >>>
>> > >> > >>> /CAM
>> > >> > >>>
>> > >> > >>>
>> > >> > >>>
>> > >> >  On Jan 7, 2020, at 16:48, James Zeun 
>> > >> >  wrote:
>> > >> > 
>> > >> >  Was the Dragon Magazine a computer mag or a magazine about
>> > >> >  roleplaying?
>> > >> > 
>> > >> >  On Wed, 8 Jan 2020, 12:30 am Peter Vollan,
>> > >> >   wrote: Dragon.
>> > >> > 
>> > >> >  On Tue, 7 Jan 2020 at 15:52, James Zeun
>> > >> >   wrote:
>> > >> > > Is that the one from the dungeon magazine?
>> > >> > >
>> > >> > > On Tue, 7 Jan 2020, 11:34 pm Peter Vollan,
>> > >> > >  wrote:
>> > >> > >> I have just about got the Dungeon 

Re: [M100] Books on programming

2020-01-14 Thread John R. Hogerhuis
On Tue, Jan 14, 2020 at 12:36 PM James Zeun  wrote:

> Thanks for that John
>
> Could I ask then, does that apply to the rest of the TRS-80 range of
> computers? I mean, aside from not taking advantage of the M100s graphics
> abilities, could code from books focusing on these systems still be
> perfectly fine to work on my M100?
>
>
>
I'd guess for the TRS-80 and Tandy computers the M100 and Color Computer /
MC-10 have the most similar BASICs.

Other than that I'll just say that BASIC programs always need to be ported
between different machines, but they vary in degree into the amount of
work.

The biggest stumbling blocks of course being graphics, I/O differences,
memory, binary incompatibility (peeks, pokes, calls/execs).

Even between the M100 and NEC there is usually a fair amount of work.

One thing unique (as far as I know) to the Model 100 is its ON 
commands. They allow you to trigger off different high level
events/interrupts.

-- John.


Re: [M100] Books on programming

2020-01-14 Thread James Zeun
Thanks for that John

Could I ask then, does that apply to the rest of the TRS-80 range of
computers? I mean, aside from not taking advantage of the M100s graphics
abilities, could code from books focusing on these systems still be
perfectly fine to work on my M100?

On Tue, 14 Jan 2020 at 19:41, John R. Hogerhuis  wrote:

> They're both Microsoft extended basics so they're similar but they are not
> the same version and are not compatible in either direction.
>
> -- John.
>


-- 
My retro tech blog and general ramblings
http://bytemyvdu.wordpress.com/


Re: [M100] Books on programming

2020-01-14 Thread John R. Hogerhuis
They're both Microsoft extended basics so they're similar but they are not
the same version and are not compatible in either direction.

-- John.


[M100] Disassembly of m100, nec, etc

2020-01-14 Thread Stefano Bodrato
I'm using the m100 an especially the nec roms as a cross reference for my MSX 
disassembly.
They are so close and in many cases it is of great help in identifying the 
constant values and the dynamic data, vectors,  etc.
In this way I'm now able to change the MSX and, still with some limit,  the 
m100 ROMs.
I'd like to waste some more time and extract a generic portable BASIC from 
those sources, e.g. to see it run on, say, a zx spectrum, but moving it all in 
a 16k rom is probably VERY challenging.
The similarities with the MSX are interesting, the nec has almost the same 
tokenization mechanism, but a different (older) floating point implementation, 
all the other models have the same FP engine (double precision, BCD encoding) 
but a different (older) way to deal with tokens.  I suppose it was done to fit 
the code in the available space in ROM.


Re: [M100] Books on programming

2020-01-14 Thread James Zeun
I'm certain I've read a couple of times, that programs for the TRS-80
colour computer work on the M100.

I'm guessing they share the same version of BASIC.



On Tue, 14 Jan 2020, 7:00 am Ariel Millennium Thornton, <
arie...@thornton2.com> wrote:

> Hi, folks!  Long-time lurker and 100 owner popping up.
>
> It's on pages 169 and 170 of the owner's manual, in Chapter 16 (BASIC
> Keywords), in the descriptions of the PRINT, PRINT #, and PRINT USING
> commands.
>
> In the PRINT USING command description, the field specifier that
> inserts a blank for positive numbers' signs is the "-" character.
>
>
> (Unrelated, my copy contains an error right above that, in the "+" field
> specifier description:  It gives
>
> PRINT USING "#-";14
>14
>
> instead of
>
> PRINT USING "#+";14
>14+
>
> as the end-of-number example.  What's in the manual is technically
> correct but probably not what they meant.)
>
> ~ArielMT
>
>
> On Mon, 13 Jan 2020 16:59:41 -0800, Peter Vollan wrote:
>
> > This is explained in the Model 100 user manual, although now I cannot
> > remember where, and turns up in other early Microsoft products. Where
> > negative numbers have a dash, positive numbers have a space, and this
> > needs to be taken into account if you have occaision to turn a number
> > string into a mathematical value.
> >
> > On Mon, 13 Jan 2020 at 16:02, James Zeun  wrote:
> > >
> > > So this evening
> > >
> > > I was reading one of my programming books.
> > >
> > >
> https://drive.google.com/file/d/0Bxv0SsvibDMTUzdWckVpSUlIb0E/view?usp=drivesdk
> > >
> > >
> > > I'm not far in (page 5) and already something has pop up that
> > > didn't work as expected.
> > >
> > > PRINT "TOTAL=";2*17
> > > TOTAL=34
> > >
> > > On my M100
> > >
> > > TOTAL= 34
> > >
> > > The M100 inserts a space after the equal sign. When according to
> > > the book a semi colon should leave no space.
> > >
> > >
> > > -James
> > >
> > >
> > > On Thu, 9 Jan 2020, 10:31 pm Peter Vollan, 
> > > wrote:
> > >>
> > >> I know that there is a program called D20 for dice rolling. Does
> > >> anyone out there know where it is???
> > >>
> > >> On Thu, 9 Jan 2020 at 14:19, James  wrote:
> > >> >
> > >> > Peter sorry it took me a while to answer this, but here goes
> > >> >
> > >> > At present we are playing a 5th edition game, have been for
> > >> > about a year. I keep having to replace my character sheet and
> > >> > did wonder if I couldn't program something on my M100. Like an
> > >> > electronic 5e character sheet. Presently I don't have a clue how
> > >> > such a thing could be achieved, but I do have an idea of how it
> > >> > might work.
> > >> >
> > >> > A primary screen showing character stats and a second page for
> > >> > inventory. Perhaps toggling between the two using the tab key.
> > >> >
> > >> > I myself have been reading up on D Basic, as found in the
> > >> > Cyclopedia TSR 1071. I own the 1070 boxset which as i understand
> > >> > it was when TSR combined Basic, Expert, Companion and Master all
> > >> > in to one.
> > >> >
> > >> > If I can make a set of DnD tools would i use my M100 to manage
> > >> > my DnD games? You're damn right I would!
> > >> >
> > >> >
> > >> > On 08/01/2020 1:56, Peter Vollan wrote:
> > >> > > What edition do you use?
> > >> > >
> > >> > > On Tue, 7 Jan 2020 at 17:06, James Zeun 
> > >> > > wrote:
> > >> > >> Great, I'll have to check that out!
> > >> > >>
> > >> > >> I'm currently checking out all the books that have been
> > >> > >> suggested to me.
> > >> > >>
> > >> > >> Really difficult to find physically books.
> > >> > >>
> > >> > >>
> > >> > >> On Wed, 8 Jan 2020, 1:03 am C. Magaret, 
> > >> > >> wrote:
> > >> > >>> "Dragon" was about role-playing games, primarily D
> > >> > >>>
> > >> > >>> /CAM
> > >> > >>>
> > >> > >>>
> > >> > >>>
> > >> >  On Jan 7, 2020, at 16:48, James Zeun 
> > >> >  wrote:
> > >> > 
> > >> >  Was the Dragon Magazine a computer mag or a magazine about
> > >> >  roleplaying?
> > >> > 
> > >> >  On Wed, 8 Jan 2020, 12:30 am Peter Vollan,
> > >> >   wrote: Dragon.
> > >> > 
> > >> >  On Tue, 7 Jan 2020 at 15:52, James Zeun
> > >> >   wrote:
> > >> > > Is that the one from the dungeon magazine?
> > >> > >
> > >> > > On Tue, 7 Jan 2020, 11:34 pm Peter Vollan,
> > >> > >  wrote:
> > >> > >> I have just about got the Dungeon Master's Personnel
> > >> > >> Service debugged and working on Virtual T.
> > >> > >>
> > >> > >> On Tue, 7 Jan 2020 at 14:14, Britt Dodd
> > >> > >>  wrote:
> > >> > >>> I’ve read the M100 manual and it did have some examples
> > >> > >>> on there, but the majority of it was more a glossary of
> > >> > >>> statements.
> > >> > >>>
> > >> > >>> Sent from my iPhone
> > >> > >>>
> > >> > >>> On Jan 7, 2020, at 5:10 PM, Dan Higdon
> > >> > >>>  wrote:
> > >> > >>>
> > >> > >>> 
> > >> > >>> The treasure horde program isn't posted 

Re: [M100] External Power for T102.....probably asked before....

2020-01-14 Thread Bert Put
I'm a bit late to the party but I use a 6V lantern battery (one of those
big cubes) and a holder designed for it.  It will last years at the
current draw that the M100 has -- in fact, the battery started leaking
before I drained all the power from it. :-)  No damage -- I removed the
battery from its holder before it could do any.

Cheers,Bert


On 1/13/20 5:49 PM, Michael Rebar wrote:
> Hi all,
> Receiving a T102 soon and have a PC-2. Also have the Tandy hardside
> briefcase coming 
> I had the PC-2 as a kid and having the T102 will be a nice addition.
> 
> The T102 draws 6V and 400 mA and so does the PC-2. 
> 
> The power connector for the T102 I think in the same as the T100
> (5.5x2.1 mm) so was thinking of getting an external power pack that
> could power the T102 and the PC-2 inside the hardside case. 
> 
> Planning to make a custom foam insert to protect the devices. 
> 
> Was hoping someone could point me in the right direction for a proper
> power supply for the T102 that will not fry the circuits given the 400
> mA output maximum.
> 
>