Search found 26 matches

by wysardry
Tue Apr 30, 2024 4:42 am
Forum: Support
Topic: Progress on Sharp MZ series?
Replies: 2
Views: 547

Re: Progress on Sharp MZ series?

I thought you had the help from someone on Discord that owned several physical machines from the MZ series? I haven't used one for well over 40 years and even then I only coded in BASIC, so I doubt I can be of much help. I will likely be looking more closely at coding in Z80 assembly and how 8-bit o...
by wysardry
Tue Apr 30, 2024 4:32 am
Forum: Support
Topic: Would writing a virtual machine be practical?
Replies: 2
Views: 601

Re: Would writing a virtual machine be practical?

Yes, the Z-machine is a virtual machine with a narrow focus that was designed for use with a domain specific language (ZIL) for creating parser-based text adventures, such as Zork. SCUMM and ScummVM were designed to create point and click adventure games, such as Maniac Mansion. I'm not a huge fan o...
by wysardry
Fri Apr 05, 2024 10:14 pm
Forum: Support
Topic: Progress on Sharp MZ series?
Replies: 2
Views: 547

Progress on Sharp MZ series?

How is support for the Sharp MZ series progressing?
by wysardry
Sun Feb 18, 2024 10:23 pm
Forum: Support
Topic: Would writing a virtual machine be practical?
Replies: 2
Views: 601

Would writing a virtual machine be practical?

Would it be practical to create a virtual machine using ugBASIC? Would it be fast enough?

I'm thinking of something like Infocom's Z-Machine or Level 9's A-machine, which were designed to allow the same byte code to run text adventures on multiple 8-bit computers.
by wysardry
Tue Jan 16, 2024 8:12 pm
Forum: Support
Topic: How complete is ugBASIC right now?
Replies: 1
Views: 564

How complete is ugBASIC right now?

How capable is ugBASIC at the moment? I know that it is still a work in progress, but does it currently have enough features to be used to create a text adventure game for all the computer (not console) platforms it supports? I'm thinking of something along the lines of Colossal Cave Adventure, whic...
by wysardry
Sun Dec 03, 2023 7:14 pm
Forum: New features
Topic: Should GLOBAL define variables?
Replies: 2
Views: 1462

Re: Should GLOBAL define variables?

I've thought about this some more and have come up with another option: GLOBAL could be stated as part of the variable type declaration.

Code: Select all

VAR sometext AS GLOBAL STRING
DIM AS GLOBAL INTEGER numberlist(16)
by wysardry
Thu Nov 30, 2023 8:55 pm
Forum: New features
Topic: Should GLOBAL define variables?
Replies: 2
Views: 1462

Re: Should GLOBAL define variables?

I would prefer a flexible syntax where each parameter is optional. I would also like the option to define the value of a variable when declaring it as global. Something like:- GLOBAL greeting AS STRING = "Hello there." or GLOBAL greeting$ = "Hello there." See Global in the PureBA...
by wysardry
Wed Nov 22, 2023 6:45 pm
Forum: New features
Topic: Is GOTO / GOSUB x still BASIC?
Replies: 4
Views: 698

Re: Is GOTO / GOSUB x still BASIC?

I don't remember using an 8-bit machine that would allow you to use a variable as a line number for GOTO or GOSUB.

SELECT CASE statements or ON x GOTO/GOSUB would work instead in most situations.
by wysardry
Wed Nov 22, 2023 11:44 am
Forum: New features
Topic: Storage access: files or memory?
Replies: 4
Views: 724

Re: Storage access: files or memory?

For me, the file metaphor makes more sense as I would want to be able to load and save data via cassette tape and disks on physical machines.

Unless I'm missing something, seeing the medium as an addressable memory space wouldn't work well with the serial nature of tapes.
by wysardry
Mon Nov 06, 2023 5:40 pm
Forum: New features
Topic: How READ...DATA work
Replies: 9
Views: 1353

Re: How READ...DATA work

So, the syntax would be something like this? :-

Code: Select all

DIM AS BIT x(128) = #{ 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255 }
(If setting every bit to a value of 1.)