User Tools

Site Tools


inline_basic_assembler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
inline_basic_assembler [2025/06/19 21:15] – [Writing a Program] reggieinline_basic_assembler [2025/06/20 10:17] (current) – [Dragon Basic Inline Assembler] reggie
Line 1: Line 1:
 ====== Dragon Basic Inline Assembler ====== ====== Dragon Basic Inline Assembler ======
  
-This utility (GTAsm) is intended for developing small 6809 machine language routines that enhance programs written mostly in Dragon Basic, for example a routine to scroll the graphics screen. The assembly source code is written in Basic comment statements.+This utility (GTAsm) is intended for developing small 6809 machine language routines that enhance programs written mostly in Dragon Basic, for example a routine to scroll the graphics screen. The assembly source code is written in Basic comment statements. This documentation assumes a good working knowledge of the 6809 and the Dragon 32.
  
 [[https://6809.uk/cas/GTAsm.cas|Download GTAsm Inline Basic Assembler]] (as a .cas file for the Dragon 32 - get the [[https://www.6809.org.uk/xroar/|XRoar Emulator]]) [[https://6809.uk/cas/GTAsm.cas|Download GTAsm Inline Basic Assembler]] (as a .cas file for the Dragon 32 - get the [[https://www.6809.org.uk/xroar/|XRoar Emulator]])
Line 59: Line 59:
   LDA (CURSPOS)     load A from the address stored at CURSPOS   LDA (CURSPOS)     load A from the address stored at CURSPOS
   LDB >$0034        load B from $0034 using extended mode rather than direct   LDB >$0034        load B from $0034 using extended mode rather than direct
-  CLR <LINELEN,   clr the byte at Y+LINELEN, forcing 8 bit offset mode +  CLR <LINELEN,   clear the byte at Y+LINELEN, forcing 8 bit offset mode (doesn't work!)
      
 === Directives === === Directives ===
inline_basic_assembler.1750367731.txt.gz · Last modified: 2025/06/19 21:15 by reggie

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki