|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Xcb /
InstallationI 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 Add this folder to your PATH: /opt/xc-basic3-3.1.13/bin/Linux And then you can use the DASMThe 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 Hello, World!Let's test if everything works: Write a program called 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 |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |