Turbo Rascal Syntax error, “;” expected but “BEGIN”

Turbo Rascal Syntax error, “;” expected but “BEGIN” (Turbo Rascal SE, TRSE) is a complete suite (IDE, compiler, programming language, image sprite level resource editor) intended for developing games/demos for the 8 / 16-bit line of computers, with a focus on the MOS 6502 & the Motorola 68000, supporting the C64, C128, VIC-20, PLUS4, NES, PET and Amiga 500. With the benefits of a modern IDE (error messages, code completion, syntax highlighting etc) and a bunch of fast built-in tools, it has never been easier to program for your favorite obsolete system!TRSE runs on Windows 64-bit, Linux 64-bit and OS X. Development began on Feb 24th 2018. The TRSE framework contains a number of project examples for multiple platforms, including almost 40 runable tutorials.

TRSE also contains a rudimentary real-time ray tracer that can export data (screens, charsets) to the C64/Amiga etc.

Join TRSE on Facebook!


Resources (current version: 0.08, 13.09.2019)

What is Turbo Rascal Syntax error, “;” expected but “BEGIN”?

In a nutshell, Turbo Rascal Syntax error, “;” expected but “BEGIN” is a complete suite for developing for the Commodore 64 (And the C128, VIC-20, NES etc). It is written in Qt C++, and runs as a stand-alone application that contains various tools for developing and deploying projects for the MOS6502‚ô• processor. The TRSE suite includes the following stuff:

  • A semi-fully functional Pascal-like compiler that compiles to DASM assembler files.
  • A built-in assembler
  • A substantial amount of handy built-in assembler functions optimized for easy-to-use and fast C64 operations (typically memory operations, zero paging, copying, sprite handling, IRQs, clearing screen, drawing to screen)
  • Optimizer
  • RasLib, the Turbo Rascal C64 library¬† (Level rendering, scrolling, high-level stuff)
  • Multicolor/hires image editor with image importer
  • Document-style editor for images and source files with syntax highlighting and code completion.
  • Character editor (multicolor, regular color etc)
  • Sprite editor
  • Character-based movie editor
  • Disk support using Krill’s loader. Automatic creation of .d64 disks with files.
  • Cycle counter per line, displayed in the editor
  • Level editor with user defined data
  • Memory usage analyzer tool (creates an image of the memory map of the current project)
  • Automated decruncher for compressed data (images, levels, sound etc)

But.. why?

The author had a C64 as a kid, but never got the hang of understanding proper programming until the x86 era of the 90s. This is his way of mending the hole in is soul. In addition, he hopes that he’ll get filthy rich & famous off this project.


Free of charge. How the “rich” part will be achieved is still up for debate.