Editing
Getting Started
(section)
From F256 Foenix
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SuperBASIC == The machine boots to SuperBASIC. SuperBASIC is inspired by BBC BASIC but offers quite a bit more. * Read the [https://github.com/FoenixRetro/f256-superbasic/blob/main/reference/source/f256jr_basic_ref.pdf SuperBASIC Reference Manual]. * Watch EMWhite's excellent intro series on Youtube: ** Full Playlist here: [https://www.youtube.com/playlist?list=PLeHjTvk7NPiSqGz4REMH-S4hjYpLS2YNR EMWhite's Intro Series - Full Playlist]. ** Part 1 can be viewed here: <youtube>G_S2c_MsqYA</youtube> To get started, you can type in a sample program at the command prompt: <pre> 10 for i=1 to 5 20 print "Hello world" 30 next run </pre> SuperBASIC is similar to CBM (Microsoft) BASIC but has some differences. For example, note in the sample above it's just <code>next</code> not <code>next i</code>. The first 15 or so pages of the [https://github.com/FoenixRetro/f256-superbasic/blob/main/reference/source/f256jr_basic_ref.pdf SuperBASIC Reference Manual] are quite instructive. SuperBASIC is actually much more powerful and supports structured programming (procedures, blocks etc.) <code>dir</code> - Run this to display directory of SD card Loading & running programs off of the SD card is similarly easy: <pre> load "JrWordl.bas" run </pre> Similar to the C64, you can save time in loading programs from the <code>dir</code> listing by using your cursor keys to go up to the entry, typing <code>load "</code> (insert mode is active by default) etc. You can use <code>CTRL+E</code> to jump to the end of the line and use <code>CTRL+K</code> to delete any text from the cursor to the end of the line. Correctly place the closing <code>"</code> and hit <code>ENTER</code>. <code>CTRL+C</code> acts as a "break" command and stops any running SuperBASIC program or <code>LIST</code> command. Read built-in help/reference: <code>/help</code> : But '''NOTE''', this erases BASIC memory! Use Backspace key to go back in menus and to exit. Explore the included demo SuperBASIC programs: {| class="wikitable" ! Program !! Notes !! Source |- | <code>JrWordl.bas</code> || Wordle game, guess 5 letter word || |- | <code>mandel.bas</code> || Draws Mandlebrot set in graphics mode, takes between 2 and 3 hours || [https://github.com/Mu0n/F256KbasicBASICdoodles @Mu0n] |- | <code>rpg-demo.bas</code> || UI sample that shows Zelda like RPG game. Control the character with an Atari-joystick connected to JoyPort1 || @econtrerasd |- | <code>Problematic_Code.bas</code> || Displays scrolling starfield || |- | <code>noelrl.bas</code> || Simple integer BASIC bench mark from Noel's retro lab. Completes < 3.5 seconds, compares very favourably to other retro systems! || [https://www.youtube.com/watch?v=H05hM_Guoqk Youtube] |- | <code>dance.bas</code> || Animates sprite of dancer || [https://github.com/Mu0n/F256KbasicBASICdoodles @Mu0n] |- | <code>luna.bas</code> || Displays simple scene || |- | <code>blink.bas</code> || Blinks drive access light || [https://github.com/Mu0n/F256KbasicBASICdoodles @Mu0n] |- | <code>piano.bas</code> || Play some notes with the PSG || [https://github.com/Mu0n/F256KbasicBASICdoodles @Mu0n] |} === Running PGZ Files === <pre> /- "file.pgz" </pre> === More Resources === === This Wiki === Explore all of the content of this Wiki, to expand your F256 series knowledge! === Discord === The [https://discord.com/invite/aAEQXZHXgM Foenix Retro Systems Discord] is the primary place to get questions answered. Also, if you resolve your question, and you didn't find the answer here on the Wiki, '''''please consider contributing to the Wiki''''', for the benefit of others with the same question! === Foenix Retro Systems Newletter === Read back issues [http://apps.emwhite.org/foenixmarketplace/ here] (also a great source for sample programs). Issues starting at #4 cover the F256 line. Issues 1-3 cover the previous version of the hardware (C256), although there are still many salient points.
Summary:
Please note that all contributions to F256 Foenix are considered to be released under the Creative Commons Zero (Public Domain) (see
F256 Foenix:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information