It highlights:

  • The 56 assembler opcodes of the 6502 CPU instruction set: LDA, LDX, LDY, STA, STX, STY, TAX, TAY, TXA, TYA, TSX, TXS, PHA, PHP, PLA, PLP, AND, EOR, ORA, BIT, ADC, SBC, CMP, CPX, CPY, INC, INX, INY, DEC, DEX, DEY, ASL, LSR, ROL, ROR, JMP, JSR, RTS, BCC, BCS, BEQ, BMI, BNE, BPL, BVC, BVS, CLC, CLD, CLI, CLV, SEC, SED, SEI, BRK, NOP, RTI
  • Assembler directives know by DASM (but surely not all of them since I'm a newbee !): ALIGN, IF, ELSE, ENDIF, ENDM, MAC, REPEAT, REPEND, MAC, REPEAT, ENDM, INCLUDE, PROCESSOR, ORG
  • Predefined TIA register WRITE adresses: VSYNC, VBLANK, WSYNC, NUSIZ0, NUSIZ1, COLUP0, COLUP1, COLUPF, COLUBK, CTRLPF, REFP0, REFP1, PF0, PF1, PF2, RESP0, RESP1, RESM0, RESM1, RESBL, AUDC0, AUDC1, AUDF0, AUDF1, AUDV0, AUDV1, GRP0, GRP1, ENAM0, ENAM1, ENABL, HMP0, HMP1, HMM0, HMM1, HMBL, VDELP0, VDELP1, VDELBL, RESMP0, RESMP1, HMOVE, HMCLR, CXCLR.
  • Predefined TIA register READ adresses:CXM0P, CXM1P, CXP0FB, CXP1FB, CXM0FB, CXM1FB, CXBLPF, CXPPMM, INPT0, INPT1, INPT2, INPT3, INPT4, INPT5
  • Labels (for example ".label_1:") at the beginning of a line, line finishing with a ":"
  • Comments: text strings beginning after a ";"

Note that this pats file is NOT case sensitive for opcodes.

Let me know if you wish to extend this pats to new features or if you modified this file.

N.