Skip to content

Releases: ksherlock/mdbasicxx

0.0.7

19 Dec 01:27
Compare
Choose a tag to compare
  • added pure ruby basic detokenizer.
  • --compact flag will detokenize Applesoft without spaces
  • --lowercase flag will detokenize Applesoft with lowercase tokens.

0.0.6

18 Dec 22:09
Compare
Choose a tag to compare
  • fixed -o problems.

0.0.5

08 Feb 20:31
Compare
Choose a tag to compare
  • mini assembler: unary ^, binary / and % were missing
  • mini assembler: labels are now lower cased

0.0.4

12 Aug 03:56
Compare
Choose a tag to compare
  • added .str, .pstr, .msb, .dci directives
  • .org and .equ now take an expression instead of a number
  • warn if .export symbol not defined

0.0.3

07 Aug 01:10
Compare
Choose a tag to compare

Mini Assembler updates:

  • Expressions now handled in operands (unary + - ~ ^, binary + - * / % & | ^ << >>)
  • Expression operators follow C precedence rules
  • Unary ^ is right shift 16
  • * allowed in operands to access the current program counter.
  • MVN / MVP work correctly (as if you'll need them...)
  • define bytes (8-bit), words (16-bit). addresses (24-bit) or longwords (32-bit) with .db, .dw, .da, and .dl, respectively.

Example

#asm
    .db 1+2,2*3+4,*
#endasm

generates

	DATA 3,10,0

0.0.2

05 Aug 15:18
Compare
Choose a tag to compare

add literals for .poke,
e.g.:

#asm
    .poke
    .org $300
    lda #{i}
    rts
#endasm

will generate & POKE 768,169,i,96, which will insert the i basic variable at runtime

0.0.1

05 Aug 03:11
Compare
Choose a tag to compare
version bump