#tinybasic — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #tinybasic, aggregated by home.social.
-
👀
now this is some arcane magicks...
Tiny BASIC for the RCA 1802!
https://www.retrotechnology.com/memship/mship_tbasic.html
http://www.cosmacelf.com/software/tbsourcep.txt
may have some joy structuring the eternal meandering for a 2K Tiny BASIC around this processor's implementation.
with 16 general purpose registers, the 1802 seems to better resemble the AVR microcontroller architecture than other examples we have dug up.
so far we know of:
6502, 8080, Z80, x86, and now the RCA 1802 assembly implementations of Tiny BASIC.
#tinybasic #basic #retrocomputing #vintagecomputing #permacomputing
-
👀
now this is some arcane magicks...
Tiny BASIC for the RCA 1802!
https://www.retrotechnology.com/memship/mship_tbasic.html
http://www.cosmacelf.com/software/tbsourcep.txt
may have some joy structuring the eternal meandering for a 2K Tiny BASIC around this processor's implementation.
with 16 general purpose registers, the 1802 seems to better resemble the AVR microcontroller architecture than other examples we have dug up.
so far we know of:
6502, 8080, Z80, x86, and now the RCA 1802 assembly implementations of Tiny BASIC.
#tinybasic #basic #retrocomputing #vintagecomputing #permacomputing
-
👀
now this is some arcane magicks...
Tiny BASIC for the RCA 1802!
https://www.retrotechnology.com/memship/mship_tbasic.html
http://www.cosmacelf.com/software/tbsourcep.txt
may have some joy structuring the eternal meandering for a 2K Tiny BASIC around this processor's implementation.
with 16 general purpose registers, the 1802 seems to better resemble the AVR microcontroller architecture than other examples we have dug up.
so far we know of:
6502, 8080, Z80, x86, and now the RCA 1802 assembly implementations of Tiny BASIC.
#tinybasic #basic #retrocomputing #vintagecomputing #permacomputing
-
👀
now this is some arcane magicks...
Tiny BASIC for the RCA 1802!
https://www.retrotechnology.com/memship/mship_tbasic.html
http://www.cosmacelf.com/software/tbsourcep.txt
may have some joy structuring the eternal meandering for a 2K Tiny BASIC around this processor's implementation.
with 16 general purpose registers, the 1802 seems to better resemble the AVR microcontroller architecture than other examples we have dug up.
so far we know of:
6502, 8080, Z80, x86, and now the RCA 1802 assembly implementations of Tiny BASIC.
#tinybasic #basic #retrocomputing #vintagecomputing #permacomputing
-
👀
now this is some arcane magicks...
Tiny BASIC for the RCA 1802!
https://www.retrotechnology.com/memship/mship_tbasic.html
http://www.cosmacelf.com/software/tbsourcep.txt
may have some joy structuring the eternal meandering for a 2K Tiny BASIC around this processor's implementation.
with 16 general purpose registers, the 1802 seems to better resemble the AVR microcontroller architecture than other examples we have dug up.
so far we know of:
6502, 8080, Z80, x86, and now the RCA 1802 assembly implementations of Tiny BASIC.
#tinybasic #basic #retrocomputing #vintagecomputing #permacomputing
-
Thinking about string arrays in BASIC in connection with this display text editor.
Ordinarily, a string array would be defined as, e.g. L$(25).
This would take the place of the text buffer of the editor. Every line n is represented by L$(n).
A FOR loop could be used to print the buffer.
There should be variables to track the cursor, and it would point within a substring of L$(n).
This looks a lot like EDIT.BAS. I think one improvement could be a kind of 'word editor', where the cursor over some string bounded by spaces could select that string and allow editing of it without having to reproduce the whole line.
-
work has been proceeding on an original text editor written in Tiny BASIC.
the idea is to produce a type in text editor, printed on paper.
--
one small wrinkle--GET is non-blocking on the microcontroller setup, but not within the POSIX development environment version.
here is a small code snippet:
--
https://paste.sr.ht/~vidak/54699878e10b891569c7e4b2c3ad953a811f9167
-
https://github.com/jggames/trs80mc10/tree/master/quicktype/Productivity%20%26%20Education/Visicalc
Visicalc... in BASIC??
there is also _another_ text editor here:
-
1541 KIM-1 Kernel: Turning a Commodore 1541 Into a Computer
#Commodore64 #Commodore1541 #MOS6502 #RetroComputing #VintageComputing #8Bit #HardwareHacks #TinyBASIC #KIM1 #CommodoreHistory
https://theoasisbbs.com/1541-kim-1-kernel-turning-a-commodore-1541-into-a-computer/?feed_id=7361&_unique_id=695538a5d09fa -
I stumbled online across the manual for Sinclair 4K BASIC for the ZX80, which brought back memories of using a friend's ZX80 or ZX81. While most people bought it for the price, its Tiny BASIC had some clever ideas: https://troypress.com/sinclair-4k-basic-for-the-zx80/ #TinyBASIC #Retrocomputing
-
okay!
the text editor is beginning to croak back into life!
this is a 100-ish line text editor written in Altair BASIC
i have corrected and adapted the program to run on this Tiny BASIC, which runs on virtually every micro-controller board available in the west:
https://github.com/slviajero/tinybasic
what happens in this video is:
1. a text file is loaded at the INPUT prompt
2. the file is read into memory with "R"
3. the file paged through with "N"
4. individual lines for editing are listed with "L"
please see the following source code:
#permacomputing #retrocomputing #retro #basic #tinybasic #vintagecomputing #programming
-
https://spectra.video/w/qvxsFMhciScC1T2py3eFvB
going live for a bit, working on the text editor that is supposed to ship with the suite of tools with the people's permacomputer model 1.
#permacomputing #retrocomputing #tinybasic #6502 #z80 #livecoding #peertube #retro #emacs #retrogames #texteditor #programming
-
This #TinyBasic port also runs successfully on the #HP200LX palmtop. It wound up as a 2,799 byte .COM file. Added the ability to LOAD and SAVE the program source, and BYE to quit the interpreter.
Source and a prebuilt COM file here, if you would like to try on your own hardware.
https://gitlab.cs.washington.edu/fidelp/tinybasic
Careful, it may still have bugs! -
The #pasmo assembler has this really neat feature where it'll accept #z80 opcodes and then do its best to emit equivalent #Intel8086 instructions. Effectively, this is the "assembly-level" forward compatibility that Intel advertised for migrating code from 8080 to 8086.
It certainly isn't perfect - a few instructions are unimplemented and have to be manually fixed, and I'm not sure I've caught all the subtle bugs where flags behave differently ... but, here's Palo Alto TinyBasic running on #MartyPC under DOS, in only a few hours work!
-
The #pasmo assembler has this really neat feature where it'll accept #z80 opcodes and then do its best to emit equivalent #Intel8086 instructions. Effectively, this is the "assembly-level" forward compatibility that Intel advertised for migrating code from 8080 to 8086.
It certainly isn't perfect - a few instructions are unimplemented and have to be manually fixed, and I'm not sure I've caught all the subtle bugs where flags behave differently ... but, here's Palo Alto TinyBasic running on #MartyPC under DOS, in only a few hours work!
-
The #pasmo assembler has this really neat feature where it'll accept #z80 opcodes and then do its best to emit equivalent #Intel8086 instructions. Effectively, this is the "assembly-level" forward compatibility that Intel advertised for migrating code from 8080 to 8086.
It certainly isn't perfect - a few instructions are unimplemented and have to be manually fixed, and I'm not sure I've caught all the subtle bugs where flags behave differently ... but, here's Palo Alto TinyBasic running on #MartyPC under DOS, in only a few hours work!
-
The #pasmo assembler has this really neat feature where it'll accept #z80 opcodes and then do its best to emit equivalent #Intel8086 instructions. Effectively, this is the "assembly-level" forward compatibility that Intel advertised for migrating code from 8080 to 8086.
It certainly isn't perfect - a few instructions are unimplemented and have to be manually fixed, and I'm not sure I've caught all the subtle bugs where flags behave differently ... but, here's Palo Alto TinyBasic running on #MartyPC under DOS, in only a few hours work!
-
The #pasmo assembler has this really neat feature where it'll accept #z80 opcodes and then do its best to emit equivalent #Intel8086 instructions. Effectively, this is the "assembly-level" forward compatibility that Intel advertised for migrating code from 8080 to 8086.
It certainly isn't perfect - a few instructions are unimplemented and have to be manually fixed, and I'm not sure I've caught all the subtle bugs where flags behave differently ... but, here's Palo Alto TinyBasic running on #MartyPC under DOS, in only a few hours work!
-
here i am transcribing a word processor (nb--not text editor) written in BASIC
https://spectra.video/w/hDyGs4tAuqUWiyvm7KjrhE
#retrocomputing #retro #tinybasic #basic #livecoding #live #emacs #texteditor #coding #programming
-
Am I suddenly working on a procedurally generated game? Maybe!
Anyway, here are some names. For people, planets, or whatever.
#MailStation #TinyBasic -
the people's permacomputer project is crowdfunding AUD$500 for some prototypes, which backers will receive.
https://igg.me/at/HTkxQoJqy6U/x/35340446#/
please boost and share around.
#crowdfunding #mutualaid #permacomputing #retrocomputing #retro #esp32 #tinybasic #basic
-
#MailStation #TinyBasic program of the day: Hangman!
I wanted something that would exercise my hacked-in "strings" support. Seems to work well enough for a word game!
Source listing (21 lines): https://gitlab.cs.washington.edu/fidelp/mailstation_apps/-/blob/master/basic/hangman.bas
-
In this later line of #TinyBasic Star Trek, what looks like a character input is actually a jump table managed by the same expression-evaluation trick. The "S" command starts on line 220, "G" on line 180, and so on. I actually think this is a tighter way of writing this kind of handler code than a more conventional if-else tree mapping an input$'s first character to possible commands.
-
Looking at Line 5-10 of this #Basic Star Trek listing confused the heck out of me. This listing was written by Li-Chen Wang for use in his own #TinyBasic.
https://archive.org/details/1976-07-peoples-computer-company/page/22/mode/2up?view=theater
Here is the confusing part, expanded out to multiple lines and modern syntax for the benefit of today's readers.
Y=2999
INPUT "DO YOU WANT A DIFFICULT GAME? (Y OR N)",A
IF A=Y THEN Y=999Without support for string input, how the heck can the program accept "Y or N" from the user?
Answer: In this dialect, INPUT accepts not just numbers, but expressions. Single characters (A-Z) are valid expressions and evaluate to the value in that variable. So in this program, typing "Y" sets A=2999 and typing "N" sets A=N (some uninitialized value). Then the next line checks A=Y (true if user entered "Y") and, if so, sets Y to 999 ("difficult game" value). Else, Y is left at 2999 ("easy game" value).
Li-Chen is absolutely some kind of genius.
-
Here is the source code for my recent #TinyBasic and #MailStation work
https://gitlab.cs.washington.edu/fidelp/mailstation_apps
- Machine code monitor and TinyBasic for Cidco MailStation (#z80 Internet Appliance)
- The programs are small enough that a determined person can key them into the MailStation's built-in hex editor in 1 hour or less. They run as loadable MailStation "channels". They make it pretty fun as a self-contained mobile development platform, though you can't easily save your work. Carry pencil and paper!
https://gitlab.cs.washington.edu/fidelp/tinybasic
- Z80 version of Palo Alto TinyBasic v3 with all known OCR errors corrected. Tested and working on real #z80.
-
A couple bugs squashed, #TinyBasic seems stable now on the #MailStation! How fun!
-
The game was for a jam. After the jam, I released an improved version which you can find, along with Tiny BASIC and some other games, on my Tiny BASIC web site. http://tinybasic.cyningstan.org.uk/ #TinyBASIC
-
Before I settled on making DOS games, I was briefly interested in writing compilers and interpreters. My first (and last) such project was Tiny BASIC. To demonstrate the language I implemented a few games, including Kingdom of the Lyre, a text adventure (in a language with no string variables). You can play with it at https://cyningstan.itch.io/kingdom-of-the-lyre #TinyBASIC
-
A Proper Computer For a Dollar? - When a tipster came to us with the line “One dollar BASIC computer”, it intrigued ... - https://hackaday.com/2025/08/01/a-proper-computer-for-a-dollar/ #retrocomputing #computerhacks #tinybasic #basic #ch32
-
A Proper Computer For a Dollar? - When a tipster came to us with the line “One dollar BASIC computer”, it intrigued ... - https://hackaday.com/2025/08/01/a-proper-computer-for-a-dollar/ #retrocomputing #computerhacks #tinybasic #basic #ch32
-
A Proper Computer For a Dollar? - When a tipster came to us with the line “One dollar BASIC computer”, it intrigued ... - https://hackaday.com/2025/08/01/a-proper-computer-for-a-dollar/ #retrocomputing #computerhacks #tinybasic #basic #ch32
-
A Proper Computer For a Dollar? - When a tipster came to us with the line “One dollar BASIC computer”, it intrigued ... - https://hackaday.com/2025/08/01/a-proper-computer-for-a-dollar/ #retrocomputing #computerhacks #tinybasic #basic #ch32
-
A Proper Computer For a Dollar? - When a tipster came to us with the line “One dollar BASIC computer”, it intrigued ... - https://hackaday.com/2025/08/01/a-proper-computer-for-a-dollar/ #retrocomputing #computerhacks #tinybasic #basic #ch32
-
El Kit del Experimentador del Tiny BASIC, ¡para la Compañía de Computadoras del Pueblo!
#gopher #6502 #6800 #motorola #mos #programación #retrocómputo #BASIC #tinyBASIC
gopher://texto-plano.xyz:70/1/%7eperon/archivo/libros/hack/tiny_basic/ -
Domingo dos vídeos: O BASIC que incomodou o BASIC da Microsoft
https://retropolis.com.br/2024/07/14/doming-dos-videos-o-basic-que-incomodou-o-basic-da-microsoft/
#MundoRetro #altair #AltairBasic #Anos70 #BASIC #DomingoDosVdeos #microsoft #MicrosoftBASIC #TinyBASIC
-
Back live for a Saturday evening 'Eight till Late' Live Stream from 20:00 BST Continuing work on the #ProjectRio #TinyBASIC #8bit homebrew system. Hope you'll join me for a cup of tea, chat tomorrow night.
https://youtube.com/live/5U5GfZGXtSk -
First new #RISC_OS video for a while, Exploring #RISCOS on #RaspberryPi, talking to #USB serial devices like #Ardunio boards.
Including #TinyBASIC / #ProjectRio build on a #MEGA2560!
#Firstlook live for channel members & all #Patreon backers
-
First new #RISC_OS video for a while, Exploring #RISCOS on #RaspberryPi, talking to #USB serial devices like #Ardunio boards.
Including #TinyBASIC / #ProjectRio build on a #MEGA2560!
#Firstlook live for channel members & all #Patreon backers
-
First new #RISC_OS video for a while, Exploring #RISCOS on #RaspberryPi, talking to #USB serial devices like #Ardunio boards.
Including #TinyBASIC / #ProjectRio build on a #MEGA2560!
#Firstlook live for channel members & all #Patreon backers
-
First new #RISC_OS video for a while, Exploring #RISCOS on #RaspberryPi, talking to #USB serial devices like #Ardunio boards.
Including #TinyBASIC / #ProjectRio build on a #MEGA2560!
#Firstlook live for channel members & all #Patreon backers
-
Now you can run #IoTBASIC #TinyBASIC on the #RC2040 - a very fast BASIC ;)
Go and grep it (.UF2 Binary and Source) at
https://drive.google.com/file/d/1bJ2QTfhiw2EDJ4mp1SECXjxGs5A3sS1b/view?usp=sharing -
#ESP8266 #160Mhz #IotBASIC #TinyBASIC
15.272 seconds for 100 digits of Pi
https://github.com/slviajero/tinybasic -
Bit of a development this morning! This is #RISC_OS on the #raspberrypi 400 talking to a clone #8bit #Arduino Mega & running #ProjectRIO / #tinyBASIC via #CH340 USB serial driver... this might actually have a use case!