From collectibles to cars, buy and sell all kinds of items on eBay
home | pay | site map
Shop for itemsSell your itemTrack your eBay activitiesLearn, connect, and stay informed-for business and for funGet help, find answers and contact Customer SupportAdvanced Search
Home > Listing Index > Games > Galaksija BASIC

Games - Galaksija BASIC


Galaksija BASIC was the BASIC interpreter of the Galaksija
built-it-yourself home computer from Yugoslavia. While being based on Microsoft Level 1 BASIC
, the extensive modifications of Galaksija BASIC—to include video generation code (as the CPU itself did it in absence of dedicated video circuitry) and generally improve the language—is said to have left not much more than flow-control and floating point code remaining from the original.

The core implementation of the interpreter was fully contained in the 4 KiB ROM "A" or "1"
. The computer's original mainboard had a reserved slot for an extension ROM "B" or "2"
that added more commands and features such as a built-in Z80 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 (equivalent of standard BASIC REM command)
  • #
  • & - prefix for hex numbers
  • ARR$(n) - (need details here)
  • BYTE serves as PEEK
    when used as a function (e.g. PRINT BYTE(11123)) and POKE
    when used as a command (e.g. BYTE 11123,123).
  • CALL n (e.g. CALL 100+4*X)
  • CHR$(n) converts an ASCII numeric code into a corresponding character (string)
  • DOT x,y draws (command) or inspects (function) a pixel at given coordinates (0<=x<=63, 0<=y<=47).
  • DOT * displays the clock or time controlled by content of Y$ variable.
  • EDIT n causes specified program line to be edited
  • ELSE standard part of IF-ELSE construct (Galaksija did not use THEN)
  • EQ - (need details here)
  • FOR standard FOR loop
  • GOTO standard GOTO command
  • HOME equivalent of standard BASIC CLS command - clears the screen
  • HOME n protects n characters from the top of the screen from being scrolled away
  • IF standard part of IF-ELSE construct (Galaksija did not use THEN)
  • INPUT
  • INT(n) a function that returns the greatest integer value equal to or lesser than n
  • KEY(n) test whether a particular keyboard key is pressed
  • LIST lists the program. Optional numeric argument specifies the first line number to begin listing with.
  • MEM returns memory consuption data (need details here)
  • NEW clears the current BASIC program
  • NEW n - (need details here)
  • NEXT - standard terminator of FOR loop
  • OLD - loads a program from tape
  • OLD n (need details here)
  • PTR
  • PRINT
  • RETURN
  • RND - function (takes no arguments) that returns a random number between 0 and 1.
  • RUN - runs (executes) BASIC program. Optional numeric argument specifies the line number to begin execution with.
  • SAVE - saves a program to tape. Optional two arguments specify memory range to be saved (need details here).
  • STEP - standard part of FOR loop
  • STOP stops execution of BASIC program
  • TAKE
  • UNDOT x,y "undraws" (resets) at specified coordinates (see DOT)
  • UNDOT *
  • USR
  • WORD

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:
  • %
  • /LABEL
  • ABS(x)
  • ARCTG(x)
  • COS(x), COSD(x)
  • DEL
  • DUMP
  • EXP(x)
  • INP(x)
  • LDUMP
  • LLIST
  • LN(x)
  • LPRINT
  • OUT
  • PI
  • POW(x,y)
  • REN
  • SIN(x), SIND(x)
  • SQR(x)
  • TG(x), TGD(x)

[ Visit the complete Wikipedia entry for Galaksija BASIC ]


Searches on eBay

Some related entries: Final Fantasy POTION: Relaxin' With Final Fantasy | Portal:Warcraft/Selected picture | Planet of Death | GUID Partition Table | Pepsiman | 1993 World Series of Poker | WengoPhone | Tournament Season 7 | Instance dungeon | SPIM | Eugene Luskin

eBay Pulse | eBay Reviews | eBay Stores | Half.com | Kijiji | PayPal | Popular Searches | ProStores | Rent.com | Shopping.com
Australia | Austria | Belgium | China | France | Germany | India | Italy | Spain | United Kingdom

About eBay | Announcements | Security Center | Policies | Site Map | Help