Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Tasty Basic Files

Introduction

The CP/M version of Tasty Basic allows programs to be saved to and loaded from disk. This document describes the Tasty Basic .TBA file format.

.TBA File format

Tasty Basic .TBA files are direct reflections of Tasty Basic programs as held in memory. Thus, each line of code starts with a 16 bit, LSB first, line number and ends with a carriage return character (0xD). An EOF marker (0x1A) indicates the end of the file. Any trailing NUL characters (0x0) are ignored.

Example

Following is an example Tasty Basic program:

10 PRINT "HELLO WORLD"
20 GOTO 10

And its .TBA file representation:

B>dump hello.tba ↵

0000 0A 00 50 52 49 4E 54 20 22 48 45 4C 4C 4F 20 57
0010 4F 52 4C 44 22 0D 14 00 47 4F 54 4F 20 31 30 0D
0020 1A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

B>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.