Recent Changes - Search:

Oktatás

* Programozás 1
  + feladatsor
  + GitHub oldal

* Szkriptnyelvek
  + feladatsor
  + quick link

Teaching

* Programming 1 (BI)
  ◇ exercises
  ◇ quick link

teaching assets


Félévek

* 2025/26/2
* archívum


Linkek

* kalendárium
* tételsorok
* jegyzetek
* szakdolgozat / PhD
* ösztöndíjak
* certificates
* C lang.
* C#
* D lang.
* Java
* Nim
* Nim2
  + exercises
* XC=BASIC
* old
  ◇C++, ◇Clojure, ◇Scala


[ edit | logout ]
[ sandbox | passwd ]

Xcb /

Installation

I tried it on Linux only.

From https://github.com/neilsf/xc-basic3 , download the latest release and extract the archive. I put it here:

/opt/xc-basic3-3.1.13

The subdirectory bin/ contains the Linux, Windows and MacOS builds, so you can use the compiler right away.

Add this folder to your PATH:

/opt/xc-basic3-3.1.13/bin/Linux

And then you can use the xcbasic3 command from anywhere.

DASM

The XC=BASIC compiler requires the DASM assembler. It's a macro assembler with support for several 8-bit microprocessors, including the MOS 6502.

Download it from GitHub (https://github.com/dasm-assembler/dasm), extract it and store it somewhere. I put it here:

/opt/dasm

Add this folder ^^^ to your PATH and make sure that you call the command dasm from anywhere.

Hello, World!

Let's test if everything works:

Write a program called hello.bas :

PRINT "hello world"

Compile and run it:

$ xcbasic3 hello.bas
** NOTICE ** Output file not specified, defaulting to hello.prg
Complete. (0)
+---------------+-------+-------+
|    Segment    | Start |  End  |
+---------------+-------+-------+
|BASIC Loader   | $0801 | $080C |
|Program code   | $080D | $0852 |
|Library        | $0853 | $0886 |
|Data & Strings | $0887 | $0892 |
+---------------+-------+-------+

$ x64sc hello.prg
Cloud City

  

Blogjaim, hobbi projektjeim

* The Ubuntu Incident
* Python Adventures
* @GitHub
* heroku
* extra
* haladó Python
* YouTube listák


Debrecen | la France


[ edit ]

Edit - History - Print *** Report - Recent Changes - Search
Page last modified on 2026 May 10, 22:12