Page 19 of 44

Re: gtBASIC

Posted: 29 Nov 2021, 06:49
by at67
There is no UPPER$, use LCASE$() and UCASE$().

Re: gtBASIC

Posted: 30 Nov 2021, 12:34
by wbushby
Great. Thank you.
I had forgotten about that version of the command in basic.
I must say that the version of GTBasic you sent me recently has corrected a lot of issues i had.
I am able to move forward with some of my older projects

Re: gtBASIC

Posted: 30 Nov 2021, 21:44
by wbushby
I have an issue with trying to create an empty string.

XXX$ = "TEST"
PRINT "1 - ";XXX$
XXX$ = ""
PRINT "2 - ";XXX$

This results in
1 - TEST
2 - TEST

Re: gtBASIC

Posted: 01 Dec 2021, 11:13
by at67
You found another bug, good stuff!

For now erase the string by doing the following:

Code: Select all

doke @XXX$, &h0000
This sets the string length to 0 followed by a zero terminator.

Re: gtBASIC

Posted: 01 Dec 2021, 16:33
by wbushby
Thanks. My inexperience shows. I forgot about DOKE.

I had set it to 1 blank and modified the tests to suit

Re: gtBASIC

Posted: 01 Dec 2021, 18:49
by bmwtcu
Frankly Wayne, next to the guy that actually wrote it, you probably have exercised gtBASIC more than most on the forum! Thanks for all your efforts!

Re: gtBASIC

Posted: 31 Dec 2021, 02:47
by wbushby
Here is my beta version of Scott Adams Pirate Adventure. The game plays properly to completion but I haven't tested all potential paths through the adventure.
If you are a fan of the genre give it a try and report any issues back through this forum. I will eventually release the source code for the engine when I have debugged it.
I will now port another adventure.

Re: gtBASIC

Posted: 31 Dec 2021, 07:49
by Hans61
Thanks for the great work. My first time in the genre was Masquerade (Apple II). It keeps the Gigatron alive.

Re: gtBASIC

Posted: 31 Dec 2021, 09:35
by walter
Nice product placement in the flyer :-)

I've made https://gigatron.io/emu-dev/ have 64kB so you can run it from there.

Re: gtBASIC

Posted: 31 Dec 2021, 10:06
by wbushby
I can compile it smaller than 64k as it doesn't need it. I will submit a version for normal 32k

Too many strings it seems. Failed to compile all the arrays used.
I will look into compiling them smaller on my next use of the GigaScott engine