Re: [M100] Studying BASIC (was Re: M100 AC power supply)

2020-01-19 Thread Daryl Tester

Conference + work overload = Daryl way behind on his email.

On 13/1/20 3:46 am, r cs wrote:


Wow.  I think breaking up a thread when the main subject diverges into a
subtopic is a good idea, but Google freaks out about it on this list. 
When I changed the subject of the message in my reply when it came back

in to me through gmail Google I got a big yellow box with the
following warning in it.


Yeah - don't do that.  You (and others) may think it "breaks up a thread",
but that's not how threading works, and I quite often see newbies who
rather than post a new email, grab an existing mail, change the email
subject and use that instead.  It results in the email being weaved into
the same thread with a different subject, and sometimes when I'm time
poor I'll ignore entire threads resulting in your "new email" getting
lost.

I'm glad Google does this - it may break people of the habit.

TL;DR - new topic, new email.  Don't modify an existing one.


Cheers,
  --dt


Re: [M100] another program

2020-01-19 Thread Peter Vollan
 Check this out! Not only is it a dumb way to do things, but it does
not even work the program just hangs!
13 IF AL$ = "S" OR AL$ = "R" OR AL$ = "T" THEN 15 ELSE 13


Re: [M100] another program

2020-01-19 Thread Peter Vollan
0 REM Dragon #49 Time Keeper Program PV
1 CLS: PRINT "WANDERING MONSTER (LEV. 1-3) / TIME KEEPING PROGRAM"
3 PRINT: PRINT "ENTER TIME OF DAY FOR ADVENTURE BASED ON 24 HOUR CLOCK"
5 PRINT: INPUT "ENTER AS HOUR (1-24), MINUTES (1-59) - USE COMMA"; HH, TM
7 IF HH > 24 OR TM > 59 THEN 1
9 PRINT: PRINT "PRESS ONE OF THE FOLLOWING FOR TIME KEEPING..."
11 INPUT "S = (1 SEGMENT), R = (1 ROUND), T = (1 TURN)"; Al$
13 IF Al$ = "S" OR Al$ = "R" OR Al$ = "T" THEN 15 ELSE 13
15 T1 = 0: T2 = 0: T3 = 0
17 IF Al$ = "S" THEN T1 = 6 ELSE 21
19 SC = SC + Tl: IF SC = 60 THEN SC = 0: TM = TM + 1
21 IF Al$ = "R" THEN T2 = 1 ELSE 25
23 MI = MI + T2
25 IF Al$ = "T" THEN T3 = 10: TM = TM + T3
27 IF (TM + MI) > = 60 THEN TM = TM - 60: HH = HH + 1
29 IF HH > 23 THEN HH = 0
33 PRINT: PRINT "TIME IN ADVENTURE ";HH;":";(TM + MI);". ";SC: PRINT
35 IF (TM + MI) > 29 AND (TM+MI) < 40 THEN Y = Y + 1
37 IF (TM + MI) > 0 AND (TM + MI) < 10 THEN Y = Y + 1
39 IF (TM + MI) > 10 AND (TM + MI) < 30 THEN Y = 0
41 IF (TM + MI) > 39 THEN Y = 0
43 IF Y= 1 THEN 50 ELSE 11
50 M = RND(6): IF M < 6 THEN 11
60 PRINT: INPUT "LEVEL BELOW SURFACE";L: RESTORE: P =RND(12)
70 PRINT: ON L GOTO 1000, 2000, 3000
80 Q = RND(12): FOR I = 1 TO Q: READ M$,N,T,H,A,C,D,S:NEXT I
90 B = RND(N)*T
100 PRINT M$: PRINT "NUMBER APPEARING:";B
110 PRINT "HIT POINTS:";: FOR I = 1 TO B: PRINT RND(H) + A;:NEXT I: PRINT
120 PRINT "ARMOR CLASS:";C
130 PRINT "MAX. HIT DAMAGE:";D
140 IF S = 0 THEN 9
150 PRINT "INTELLIGENT MONSTER REACTION:";
160 R = RND(6)*2
170 IF R = 2 THEN PRINT "ATTACKS IMMEDIATELY!": GOTO 9
180 IF R < 6 THEN PRINT "HOSTILE REACTION": GOTO 9
190 IF R < 9 THEN PRINT "UNCERTAIN": GOTO 9
200 IF R < 12 THEN PRINT "FRIENDLY": GOTO 9
210 IF R = 12 THEN PRINT "VOLUNTEERS HELP": GOTO 9
220 END
1000 IF P < 9 THEN 80
1010 IF P = 12 THEN FOR I = 1 TO 192: READ A$: NEXT I:GOTO 80
1020 FOR I = 1 TO 96: READ A$: NEXT I: GOTO 80
2000 IF P < 4 THEN 80
2010 IF P < 10 THEN FOR I = 1 TO 96: READ A$: NEXT I: GOTO 80
2020 FOR I = 1 TO 192: READ A$: NEXT I: GOTO 80
3000 IF P = 1 THEN 86
3010 IF P < 5 THEN FOR I = 1 TO 96: READ A$: NEXT I: GOTO 80
3020 FOR I = 1 TO 192: READ A$: NEXT I: GOTO 80
4100 DATA KOBOLD,4,3,4,0,7,4,1,SEER,2,1,8,0,9,8,1
4110 DATA ORC,5,1,8,0,7,6,1,SKELETON,6,1,4,0,8,6,0
4120 DATA GIANT RAT,4,3,4,0,7,4,0,ZOMBIE,4,1,8,0,8,8,0
4130 DATA BANDIT.5,1,8,0,6,6,1,GIANT SPIDER,3,1,4,1,8,4,0
4140 DATA STIRGE,5,1,4,0,7,3,0,FOOTPAD,4,1,8,0,7,6,1
4150 DATA ELF,6,1,6,0,5,10,1,GELATINOUS CUBE, 1,1,24,0,8,8,0
4160 DATA HOBGOBUN,5,4,84,6,8,l,GNOLL,5,1,16,0,5,12,0
4170 DATA GIANT TOAD,6,1,12,1,7,6,0.GHOUM442,0,6,3,0
4180 DATA WARRIOR,5,13,0,4,84.CONJURER,4,1,12,0,9,84
4190 DATA SHAMAN^4,14,0,5^,1,ROBBER I 4442,0,4,8,1
4200 DATA LEPRECHAUN,4,2,4,0,8,4,1 ,RUST MONSTER,l,l,20,0,2,0,0
4210 DATA PIERCER,6,1,8,0,3,6,0,CARRION CRAWLER,1448,1,7,0,0,
4220 DATA BUGBEAR,4,2,18,1,5,8,0,OGRE,4,1,24,1,6,10,1
4230 DATA WIGHT,3,1,18,0,5,0,0,HARPY,3,1,18,0,7,4,0
4240 DATA TROLL4436.3,6,6,0,WERERAT,4,1,12,0,7,6,0
4250 DATA OCHRE JELLY,U,30,0,8,12,0,DWARF,6,3,8,0,4,84
4260 DATA WEREWOLF,2,1,24,0,53,0,GIANT TICK,5,148,0,4,4,0
4270 DATA GIANT SNAKE,2,1,32,0,5,10,0.SHRIEKER,4,2,24,0,7, 8,0

On Sat, 18 Jan 2020 at 19:08, Ariel Millennium Thornton
 wrote:
>
> The Internet Archive has OCR text scans of Dragon Magazine issues,
> including #80:
>
> https://ia803109.us.archive.org/8/items/DragonMagazine260_201801/DragonMagazine080_djvu.txt
>
> It needs the usual clean-up from scan errors, but it doesn't look like
> too much.
>
> In case the URL changes or gets mangled in the mail, I got there from
> https://archive.org/stream/DragonMagazine260_201801/DragonMagazine080
> then clicking on the "PDF/ePub" button, then clicking on "Plain Text"
> in the Select Download Format box.
>
> On Sat, 18 Jan 2020 17:51:25 -0800, Peter Vollan wrote:
>
> > There is a fairly useful looking program called Dungeon Master's
> > Familiar in Dragon #80, page 17. Unfortunately I have not been able to
> > copy the text the way I did with those other programs, the pdf is just
> > not made in the same way. Could anyone out here somehow scan it?
> > Or did anyone type it in, old school?


Re: [M100] another program

2020-01-19 Thread Peter Vollan
The program in #80 did not entirely scan and the parts that did not
are just the kind of thing I can't imagine sitting around and typing
in. But I did unearth a program that I tinkered with when I was first
learning basic, "Time Keeper", a program for keeping track of time and
rolling for wandering monsters. I just cut out the text and pasted it
back together and have barely begun to check the formatting errors. I
will just post the text of the program in the message following this
one. From Dragon #49.

On Sat, 18 Jan 2020 at 19:08, Ariel Millennium Thornton
 wrote:
>
> The Internet Archive has OCR text scans of Dragon Magazine issues,
> including #80:
>
> https://ia803109.us.archive.org/8/items/DragonMagazine260_201801/DragonMagazine080_djvu.txt
>
> It needs the usual clean-up from scan errors, but it doesn't look like
> too much.
>
> In case the URL changes or gets mangled in the mail, I got there from
> https://archive.org/stream/DragonMagazine260_201801/DragonMagazine080
> then clicking on the "PDF/ePub" button, then clicking on "Plain Text"
> in the Select Download Format box.
>
> On Sat, 18 Jan 2020 17:51:25 -0800, Peter Vollan wrote:
>
> > There is a fairly useful looking program called Dungeon Master's
> > Familiar in Dragon #80, page 17. Unfortunately I have not been able to
> > copy the text the way I did with those other programs, the pdf is just
> > not made in the same way. Could anyone out here somehow scan it?
> > Or did anyone type it in, old school?


Re: [M100] Request for info on RS DV Interface

2020-01-19 Thread james . zeun
That would be an option, but I think I’d be happier doing something internal. 
Swapping the PSU shouldn’t be to hard. Only I wasn’t thinking about swapping 
components to make to psu z240v compatible.

However I’m certain open to trying 


Sent from my iPad

> On 19 Jan 2020, at 4:42 pm, Fugu ME100  wrote:
> 
> 
> Probably the easiest and safest :) method is to use an Auto-transformer to 
> step down the UK 240V to the US 120V.  They should be available with a UK 
> plug on one side and a US socket on the other you can then simply plug in the 
> DVI unit without touching any live 240V mains - they are generally packaged 
> for immediate use no need to wire up.  The DVI unit takes 66W (according to 
> the manual) just make sure the Auto–transformer is capable of supplying more 
> than that I would look for something  >100W.  The only issue is that the 120V 
> will be at 50Hz and not 60Hz which will make the internal DVI transformer 
> less efficient but it should be OK.  
> 
> https://uk.rs-online.com/web/p/autotransformers/3101156/ this one might be a 
> good option to look at, there are quite a few others, the higher VA the 
> better - depends on your budget.
> 
> The other issue will be the composite video output might/will need an adapter 
> too in order to convert it to the UK PAL standard, it will be NTSC Composite 
> output in the US version.  They are available on the well known online 
> auction sites or other online retailers.  Some of them claim to convert to 
> HDMI although not sure how good the quality will be from those units.   If 
> you have a composite video monitor that should produce the best results.  
> 
> From: M100  on behalf of 
> 
> Reply-To: 
> Date: Sunday, January 19, 2020 at 6:32 AM
> To: 
> Subject: Re: [M100] Request for info on RS DV Interface
> 
> I’ve never done anything like that, so if anyone can give a little hand 
> holding, then sure!
> 
> I’m fine soldering, it’s just I haven’t played around with power supplies. 
> Once zapped myself with 240v mains while working on a Macintosh Plus, once 
> was quite enough. Sitting in a house In the dark, because the fuse box was 
> tripped, with my arm killing me., ah the memories :-P
> 
> 
>> 


Re: [M100] Request for info on RS DV Interface

2020-01-19 Thread Fugu ME100
Probably the easiest and safest :) method is to use an Auto-transformer to step 
down the UK 240V to the US 120V.  They should be available with a UK plug on 
one side and a US socket on the other you can then simply plug in the DVI unit 
without touching any live 240V mains - they are generally packaged for 
immediate use no need to wire up.  The DVI unit takes 66W (according to the 
manual) just make sure the Auto–transformer is capable of supplying more than 
that I would look for something  >100W.  The only issue is that the 120V will 
be at 50Hz and not 60Hz which will make the internal DVI transformer less 
efficient but it should be OK.

https://uk.rs-online.com/web/p/autotransformers/3101156/ this one might be a 
good option to look at, there are quite a few others, the higher VA the better 
- depends on your budget.

The other issue will be the composite video output might/will need an adapter 
too in order to convert it to the UK PAL standard, it will be NTSC Composite 
output in the US version.  They are available on the well known online auction 
sites or other online retailers.  Some of them claim to convert to HDMI 
although not sure how good the quality will be from those units.   If you have 
a composite video monitor that should produce the best results.

From: M100 
mailto:m100-boun...@lists.bitchin100.com>> 
on behalf of mailto:james.z...@gmail.com>>
Reply-To: mailto:m...@bitchin100.com>>
Date: Sunday, January 19, 2020 at 6:32 AM
To: mailto:m...@bitchin100.com>>
Subject: Re: [M100] Request for info on RS DV Interface

I’ve never done anything like that, so if anyone can give a little hand 
holding, then sure!

I’m fine soldering, it’s just I haven’t played around with power supplies. Once 
zapped myself with 240v mains while working on a Macintosh Plus, once was quite 
enough. Sitting in a house In the dark, because the fuse box was tripped, with 
my arm killing me., ah the memories :-P





Re: [M100] Request for info on RS DV Interface

2020-01-19 Thread james . zeun
I’ve never done anything like that, so if anyone can give a little hand 
holding, then sure!

I’m fine soldering, it’s just I haven’t played around with power supplies. Once 
zapped myself with 240v mains while working on a Macintosh Plus, once was quite 
enough. Sitting in a house In the dark, because the fuse box was tripped, with 
my arm killing me., ah the memories :-P


Sent from my iPad

> On 19 Jan 2020, at 1:22 am, Fugu ME100  wrote:
> 
> 
> If you wanted to retain the look/feel you could replace the 120V step down 
> transformer wth a 240V step down.  The DVI Service manual does not mention 
> the step down voltage but it might be on the transformer.  You would also 
> have to replace the AC wiring, switch and fuse holder with 240V rated cables, 
> as well as the fuse.  From the service manual that is all R/S swapped when 
> producing the UK version (apart from the RF modulator for the TV of course :) 
> ).  The power supply board is the same – or at least it appears to be from 
> the parts list.  
> 
> 
> The service manual is on http://www.classiccmp.org/cini/systems.htm in the 
> M100 section.
> 
> From: M100  on behalf of Mike Stein 
> 
> Reply-To: 
> Date: Saturday, January 18, 2020 at 3:55 PM
> To: 
> Subject: Re: [M100] Request for info on RS DV Interface
> 
> Looks like a garden variety linear 12 and 5 V supply; a 3 Amp each switcher 
> should be able to replace it.
> - Original Message -
> From: James Zeun
> To: m...@bitchin100.com
> Sent: Saturday, January 18, 2020 6:22 PM
> Subject: Re: [M100] Request for info on RS DV Interface
> 
> 
> 
> If I didn't want to use a step down. Would it take much to replace the 
> internal PSU with something else? 
>