a2audit/audit/macros.asm

24 lines
302 B
NASM
Raw Normal View History

2016-12-15 01:16:55 +00:00
;;; Apple II audit routine macros.
;;; Copyright © 2016 Zellyn Hunter <zellyn@gmail.com>
!macro print {
jsr LASTSTRING
2016-12-15 01:16:55 +00:00
!set TEMP = *
* = LASTSTRING
jsr print
2016-12-15 01:16:55 +00:00
}
2016-12-15 01:16:55 +00:00
!macro printed {
!byte 0
!set LASTSTRING=*
* = TEMP
}
!macro prerr NUM {
+print
}
!macro prerred {
!byte $8D
+printed
}