Skip to content

Instantly share code, notes, and snippets.

@FrankBuss
Created September 8, 2019 04:05
Show Gist options
  • Save FrankBuss/3fd6343c0634417c641fc953de186104 to your computer and use it in GitHub Desktop.
Save FrankBuss/3fd6343c0634417c641fc953de186104 to your computer and use it in GitHub Desktop.
ACME test for Command X16
; comppile with ACME (https://sourceforge.net/projects/acme-crossass/ )
; acme -f cbm -o test.prg test.asm
;
; then start in the emulator:
; x16emu -run test.prg
*=$0801
!byte $0b,$08,$01,$00,$9e,$32,$30,$36,$31,$00,$00,$00
sei
lda #4
sta $9F20
lda #0
sta $9F21
sta $9F22
lda #33
sta $9F23
lda #2
sta $9F21
loop: sta $9F23
eor #$FF
jmp loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment