wudsn-ide/com.wudsn.ide.ref/ASM/Atari8/ATASM/ExampleWithWarning.asm

18 lines
383 B
NASM
Raw Normal View History

2018-12-30 15:52:33 +00:00
; WUDSN IDE example ATASM source file
; Supports hyperlink navigation includes.
.include "..\Macros.inc"
* = $2000 ;Start of code
.opt ILL ;Enable use of illegal opcodes
.if as
start sei ;Run address
loop lda $d40b ;Load VCOUNT
anc #12 ;Illegal opcode
sta $d40a
sta $d01a ;Change background color
jmp loop1
* = $2e0 ;Set run address
.word start