Galaksija BASIC
   HOME

TheInfoList



OR:

Galaksija BASIC was the
BASIC Basic or BASIC may refer to: Science and technology * BASIC, a computer programming language * Basic (chemistry), having the properties of a base * Basic access authentication, in HTTP Entertainment * Basic (film), ''Basic'' (film), a 2003 film ...
interpreter Interpreting is translation from a spoken or signed language into another language, usually in real time to facilitate live communication. It is distinguished from the translation of a written text, which can be more deliberative and make use o ...
of the Galaksija build-it-yourself
home computer Home computers were a class of microcomputers that entered the market in 1977 and became common during the 1980s. They were marketed to consumers as affordable and accessible computers that, for the first time, were intended for the use of a s ...
from
Yugoslavia , common_name = Yugoslavia , life_span = 1918–19921941–1945: World War II in Yugoslavia#Axis invasion and dismemberment of Yugoslavia, Axis occupation , p1 = Kingdom of SerbiaSerbia , flag_p ...
. While being partially based on code taken from
TRS-80 The TRS-80 Micro Computer System (TRS-80, later renamed the Model I to distinguish it from successors) is a desktop microcomputer developed by American company Tandy Corporation and sold through their Radio Shack stores. Launched in 1977, it is ...
Level 1 BASIC, which the creator believed to have been a
Microsoft BASIC Microsoft BASIC is the foundation software product of the Microsoft company and evolved into a line of BASIC interpreters and compiler(s) adapted for many different microcomputers. It first appeared in 1975 as Altair BASIC, which was the first v ...
,Antonić, Voja (creator)
1983 - Galaksija
/ref> the extensive modifications of Galaksija BASIC—such as to include rudimentary
array An array is a systematic arrangement of similar objects, usually in rows and columns. Things called an array include: {{TOC right Music * In twelve-tone and serial composition, the presentation of simultaneous twelve-tone sets such that the ...
support, video generation code (as the
CPU A central processing unit (CPU), also called a central processor, main processor, or just processor, is the primary processor in a given computer. Its electronic circuitry executes instructions of a computer program, such as arithmetic, log ...
itself did it in absence of dedicated video circuitry) and generally improvements to the
programming language A programming language is a system of notation for writing computer programs. Programming languages are described in terms of their Syntax (programming languages), syntax (form) and semantics (computer science), semantics (meaning), usually def ...
—is said to have left not much more than flow-control and
floating point In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a ''significand'' (a signed sequence of a fixed number of digits in some base) multiplied by an integer power of that base. Numbers of this form ...
code remaining from the original. The core implementation of the interpreter was fully contained in the 4 
KiB The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
ROM "A" or "1". The computer's original
mainboard A motherboard, also called a mainboard, a system board, a logic board, and informally a mobo (see "Nomenclature" section), is the main printed circuit board (PCB) in general-purpose computers and other expandable systems. It holds and allow ...
had a reserved slot for an extension ROM "B" or "2" that added more commands and features such as a built-in
Zilog Z80 The Zilog Z80 is an 8-bit computing, 8-bit microprocessor designed by Zilog that played an important role in the evolution of early personal computing. Launched in 1976, it was designed to be Backward compatibility, software-compatible with the ...
assembler.


ROM "A"/"1" symbols and keywords

The core implementation, in ROM "A" or "1", contained 3 special symbols and 32 keywords: ; : begins a
comment Comment may refer to: Computing * Comment (computer programming), explanatory text or information embedded in the source code of a computer program * Comment programming, a software development technique based on the regular use of comment tags ...
(equivalent of standard BASIC REM command) ; : Equivalent of standard BASIC DATA statement ; : prefix for
hex Hex usually refers to: * A curse or supposed real and potentially supernaturally realized malicious wish * Hexadecimal, a base-16 number system often used in computer nomenclature Hex, HEX, or The Hex may also refer to: Magic * Hex sign, a b ...
numbers ; : Allocates an array of strings, like DIM, but can allocate only array with name A$ ; : serves as
PEEK Polyether ether ketone (PEEK) is a beige coloured organic thermoplastic polymer in the polyaryletherketone (PAEK) family, used in engineering applications. It was invented in November 1978 and brought to market in the early 1980s by part of I ...
when used as a function (e.g. PRINT BYTE(11123)) and
POKE Poke may refer to: Arts, entertainment, and media * Poke (Ender's Game), Poke (''Ender's Game''), a fictional character * Poke (game), a two-player card game * Poke, a fictional bar owner in the television series ''Treme (season 2), Treme'' * The ...
when used as a command (e.g. BYTE 11123,123). ; : Calls BASIC subroutine as GOSUB in most other BASICs (e.g. CALL 100+4*X) ; : converts an
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
numeric code into a corresponding character (string) ; : draws (command) or inspects (function) a pixel at given coordinates (0<=x<=63, 0<=y<=47). ; : displays the clock or time controlled by content of Y$ variable. Not in standard ROM ; : causes specified program line to be edited ; : standard part of IF-ELSE construct (Galaksija did not use THEN) ; : compare alphanumeric values X$ and Y$ ; : standard
FOR loop In computer science, a for-loop or for loop is a control flow Statement (computer science), statement for specifying iteration. Specifically, a for-loop functions by running a section of code repeatedly until a certain condition has been satisfi ...
; : standard GOTO command ; : equivalent of standard BASIC CLS command - clears the screen ; : protects n characters from the top of the screen from being scrolled away ; : standard part of IF-ELSE construct (Galaksija did not use THEN) ; : user entry of variable ; : a function that returns the greatest integer value equal to or lesser than n ; : test whether a particular
keyboard Keyboard may refer to: Text input * Keyboard, part of a typewriter * Computer keyboard ** Keyboard layout, the software control of computer keyboards and their mapping ** Keyboard technology, computer keyboard hardware and firmware Music * Mus ...
key is pressed ; : lists the program. Optional numeric argument specifies the first line number to begin listing with. ; : returns memory consumption data ''(need details here)'' ; : clears the current BASIC program ; : clears BASIC program and moves beginning of BASIC area ; : standard terminator of
FOR loop In computer science, a for-loop or for loop is a control flow Statement (computer science), statement for specifying iteration. Specifically, a for-loop functions by running a section of code repeatedly until a certain condition has been satisfi ...
; : loads a program from tape ; : loads program to different address ; : Returns address of the variable ; : Printing numeric or string expression. ; : Return from BASIC subroutine ; : function (takes no arguments) that returns a random number between 0 and 1. ; : runs (executes) BASIC program. Optional numeric argument specifies the line number to begin execution with. ; : saves a program to tape. Optional two arguments specify memory range to be saved ''(need details here)''. ; : standard part of
FOR loop In computer science, a for-loop or for loop is a control flow Statement (computer science), statement for specifying iteration. Specifically, a for-loop functions by running a section of code repeatedly until a certain condition has been satisfi ...
; : stops execution of BASIC program ; : replacement for READ and RESTORE. If the parameter is variable name, acts as READ, if it is number, acts as RESTORE ; : "undraws" (resets) at specified coordinates (see DOT) ; : Stops the clock, not part of ROM ; : Calls machine code subroutine ; : Double byte PEEK and POKE


ROM "B"/"2" additional symbols and keywords

The extended BASIC features, in ROM "B" or "2", contained one extra reserved symbol and 22 extra keywords: * * * * * * * * * * * * * * * * * * * *


See also

*
Voja Antonić Vojislav "Voja" Antonić ( sr-cyr, Воја Антонић, ʾ, 12 July 1952) is a Serbian inventor, journalist, and writer. He is known for creating a build-it-yourself home computer Galaksija and originating a related "Build your own computer ...
, creator of Galaksija and this
BASIC Basic or BASIC may refer to: Science and technology * BASIC, a computer programming language * Basic (chemistry), having the properties of a base * Basic access authentication, in HTTP Entertainment * Basic (film), ''Basic'' (film), a 2003 film ...


References


External links


Uputstvo za upotrebu
user manual online, complete, original, in Serbian language {{BASIC Microsoft BASIC Programming tools Galaksija (computer) BASIC interpreters