Skip to content
Front end for XC=Basic. In the style of TurboPascal 3.0
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Feb 28, 2020
README.md modified readme Mar 6, 2020
xcb Beta 1.1 No longer requires fzf fuzzy finder Feb 29, 2020

README.md

XCB

XCB is a frontend for Feteke Csaba's cool XC=Basic compiler for 6502 processors.

Background

Feteke Csaba has written a really nice BASIC dialect compiler for the Commodore C64 8 bit computer.

==> https://github.com/neilsf/XC-BASIC

XCB is little bash script front-end to the Edit/Compile/Run loop.

Look'n'Feel is based on TurboPascal 3.0 for CP/M --- seemed appropriate for a compiler for an old 8-bit computer.

Please note:

==> This is Alpha quality software, things are rough, unfinished and may ass'plode yer computer. ;-) <==

Getting Started

Prerequisites

Installing

Install VICE as per home page. Install both XC=Basic and DASM. All of these programs must be on your $PATH

Install XCB with:

git clone https://github.com/mlongval/xcb.git

Run XCB with:

$ cd to_your_work_directory

$ xcb prog1.bas prog1.prg

XC=Basic --- A 6502 BASIC Compiler
(C) Csaba Fekete
https://github.com/neilsf/XC-BASIC

Executable paths:
Assembler:  /home/user/bin/dasm
Compiler:  /home/user/bin/xcbasic64
Machine:  /home/user/bin/x64
Editor:  /usr/bin/vim

Work File: prog1.bas

Output File: prog1.prg

Edit    Run     Compile Quit

Please select command >

Not shown above are the letters in reverse video that are the 'menu' choices. Select from the menu and then ENTER.

  • W: shows a file listing of the current working directory. Select the file you want to edit. There is no provision for changing directory here. Exit the script to change directory.
  • O: will ask user to enter the output file name (ie: prog1.prg). This is the target file name for the compiler
  • E: edit the current Work File.
  • R: run the current Output File.
  • C: compile the current Work File into the current Output File.
  • Q: quit the script

... and that's all folks.

Built With

  • Bash
  • Vim (what else....)

Authors

License

This software is licensed under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007

Acknowledgments

You can’t perform that action at this time.