Skip to content

API Routine Reference

Chysn edited this page Feb 5, 2022 · 7 revisions

Note: wAx is located in Block 5 ($A000) for the wAxpander cartridge, but may alternately be located in Block 3 ($6000). For Block 3 versions of wAx, the call addresses start at $6000 instead of $A000.

  • Addr2CP Address to Command Pointer $A027
  • CharGet Read Character from Input to A $A006
  • CharOut Add Character in A to Output $A009
  • DirectMode Set Z If Direct Mode $A030
  • Disasm Disassemble at Address to Output $A036
  • HexGet Read Hex Byte from Input to A $A003
  • HexOut Add Hex Byte in A to Output $A00C
  • IncAddr Address Value to A, Increment Address $A00F
  • IncCP Increment Command Pointer $A012
  • Install Start wAx $A000
  • Lookup Lookup 6502 Instruction $A015
  • NextList List-Type Endpoint $A02D
  • PrintBuff Flush Output Buffer to Screen $A018
  • PrintStr Print String at A,Y $A02A
  • ResetIn Reset Input Buffer Index $A01B
  • ResetOut Reset Output Buffer Index $A01E
  • ShowAddr Add Address to Output $A021
  • ShowCP Add Command Pointer to Output $A024
  • SizeOf Return Size of 6502 Opcode A in X $A033
Clone this wiki locally