Foenix F256 SuperBASIC - What about "?" / PEEK(x) / POKE and errata for Part 6 - (1 minute)

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • This is a replacement (last minute) of the Part 6 video. Same analog synth noodling but a more understandable explanation of the different '?' operator examples and a corrected Commodore shortcut note. The content and discussion is otherwise identical.
    The description below was copied from the Part 6 video. If you've not watched it and would like to, directly, click here:
    • Foenix F256 SuperBASIC...
    - - -
    This video continues the discussion on structured programming through the lens of a DEMO program, which is a modern, "full featured" but extremely short 19 line program that I stole from Paul Robson's github.
    I say "full featured" because it accepts user input (sort of) and produces output; not in that order.
    To be honest, it's nothing more than a single-line program and better, a single command; but THAT single command is a named PROCedure that calls other PROCs to display bitmapped graphics on the screen and cycle through a set of colors until user input (ummm, a joystick button press) is encountered.
    You can impress your friends by making this your own and modifying it to do something more.
    This video picks up the screen editor discussion that we started earlier in the series, and specifically, the manner in which nested statements are rendered; but watch out for a familiar GOTCHA!
    The last minute of the video is a text-only explanation of something I realized during editing; the conflict of how the '?' character is used in the BASIC that I grew up with, and how it is used here in SuperBASIC (a distant cousin of Acorn BBC BASIC; the original Acorn manual is linked below for reference). I'll probably pull together an advanced topics video that deals with operators at some point; as far as I'm concerned, BASIC should be content with parens, the commonly accepted mathematical operators, logicals, and postfix 'type' designations such as '$' for string and '%' for integer. But that's just me.
    ** The normal stuff
    SuperBASIC is the native BASIC interpreter that ships with Foenix F256 platforms. In the github repository (link below), the developer (Paul Robson) deemed it an "improved BASIC".
    As mentioned in the intro, these videos are shot in a single 'take' with a minimum of edits and are based on a short script with an aim to be consumed in 10 minutes or less; so keep your notepad handy. They are slow-paced, but focused tutorials.
    Constructive feedback and questions are welcome, and clicking the SUBSCRIBE button is much appreciated. We are just getting started, but have big plans for this channel.
    ** Links and/or references mentioned:
    github.com/pau...
    Foenix Retro Discord server invite: / discord
    Foenix Retro home page: c256foenix.com
    Link to the Foenix Marketplace app store:
    apps.emwhite.or...
    Link to an early BBC Micro User Guide :
    bbc.nvg.org/doc...
    Link to a great BBC Micro resource for public domain publications:
    8bs.com/othrdnl...

Комментарии •