Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Oberon-07 compiler for DCPU-16
Pascal M Matlab
branch: master

Fixed bug in comparisons.

Fixed for loop code generation.
Added BSS and DATA sections.
Optimized array indexing code generation.
Added offline linker.
latest commit 49a2c3004a
@Laksen authored
Failed to load latest commit information.
binaries Updated binaries
docs
examples
system Fixed passing constant chars as argument to array of char parameters.
testsuite Added testsuite and more system units
utils Fixed bug in comparisons.
README
doc.lpi
doc.lpr
doc.lps
instr.pas
ninbuilt.pas
ntypes.pas
paths.pas
scanner.pas Added all the code
symtab.pas

README

Requirements to compile the compiler:
   Freepacal in some version older than 2.0 I guess

   Run: fpc doc.lpr

----------------------------------

Usage:

So far only supports looking for .m files in the same directory. They probably have to be case-sensitive on filesystems that need that. Only tested on windows

doc <name of file>

Example:
doc dither

Produces:
mem.dmp (compatible with Notch's emulator, big endian raw dump)
mem.dcpu16 (compatible with DCPU-16 studio, little endian raw dump)
mem.dhex (0x10co.de compatible, little endian hex dump with DAT 0x* appended)
Something went wrong with that request. Please try again.