Posted: Fri Oct 20, 2006 6:39 am
What that cartridge does?
It adds some extra basic commands?
It adds some extra basic commands?
The Commodore Vic 20 Forum
http://sleepingelephant.com/ipw-web/bulletin/bb/
http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=1440
Ya, I'm still a bit aroused from the "Naughty 64" demo's shown last night to type right now stillSchema wrote:Yeah, Centallica and I saw Ernie at the TPUG meeting last night, could have asked him about this cartridge.
Do you know whats difference to normal Vic20 basic?ral-clan wrote:Mikam: The cartridge is a complete programming language - a variant of BASIC developed at the University of Waterloo in Ontario, Canada. The brochure I have (which also shows the box) says it was to come with a tutorial book providing lessons on programming in this language.
Actually they were standard PET 8032s with an additional ROM board.ral-clan wrote:I guess you were using a SuperPET with the Waterloo Structured BASIC ROM installed.gklinger wrote: I would be very interested in checking it out once you've got a dump of the cartridge.
It has been more than 20 years but I'm hoping it will come back to me and I would be glad to make a posting detailing whatever I can remember. In the interim answers might be found by checking out the documentation and Waterloo language software for the SuperPET (which can be emulated with VICE). They can be found here. I also think that this document (in PDF form) might prove helpful.When I upload this cartridge and you have a look at it, would you be able to give us a few tips on how to use it (if you can figure it out).
Oh, thanks! If the version of WSB from that manual is the same as is in this cartridge, it should answer all my questions.gklinger wrote: I also think that this document (in PDF form) might prove helpful.
If anybody wants to have this as an option in my 32k expander, then I offer it but... not guaranteed.Schema wrote:Worked fine for me on a real VIC with RAM in BLK5. Haven't figured out any of the new commands though.
If it's really only 4K, it would be trivial to use in my blue utility cart, or eslapion's expander.
I briefly read through the PDF manual (link provided above). It should be useful in figuring out this cartridge. Certainly LOOP and ENDLOOP worked when I tried them. The manual shows examples with "!" being used for remarks, but this character does not seem to function as a substitute for REM with this particular cartridge.eslapion wrote:I noticed, sifting through the code, some commands that exist in other implementations of BASIC, but not normally on the VIC, such as ELSEIF, ELSE, WHILE, LOOP, ENDLOOP, PROC, ENDPROC.
Sounds like a volunteer to me! You'll now notice four small buttons at the bottom of your page when you visit that section.eslapion wrote:I think this thread should be moved to "Collecting and History".
Code: Select all
conditional statements: IF, ELSEIF, ELSE, ENDIF
0 REM IF ... ELSEIF ... ELSE ... ENDIF
1 INPUTX
2 IF X<2:REM ** no THEN!
3 PRINT"X<2"
4 ELSEIF X<5
5 PRINT"X>=2 AND X<5"
6 ELSE
7 PRINT"X>=5"
8 ENDIF
looping statements: LOOP, ENDLOOP, UNTIL, WHILE, QUIT
0 REM LOOP ... QUIT ... ENDLOOP
1 X=0
2 LOOP
3 PRINTX:X=X+1
4 IFX=10THENQUIT : REM note IFs now *must* stand at the beginning of lines!
5 ENDLOOP
0 REM WHILE ... ENDLOOP
1 X=0
2 WHILE X<10
3 PRINTX:X=X+1
4 ENDLOOP
0 REM LOOP ... UNTIL
1 X=0
2 LOOP
3 PRINTX:X=X+1
4 UNTIL X>=10
a WHILE ... UNTIL program would also work, but I couldn't find a good demonstration program.
procedure calls: CALL, PROC, ENDPROC
0 REM PROC ... ENDPROC, CALL
1 CALLA:CALLB
2 END
3 PROCA
4 PRINT"HELLO, ";
5 ENDPROC
6 PROCB
7 PRINT"WORLD!"
8 ENDPROC