# HG changeset patch # User John Tsiombikas # Date 1485788271 -7200 # Node ID 51d1d6761601723f84e92d52fa202120fe05ca84 # Parent 9e7f64c4fe7ab2b63c9f2145e3833c6528ebcb4e copied the bgset code from samurai's article to test that my dev setup is actually working diff -r 9e7f64c4fe7a -r 51d1d6761601 src/main.s --- a/src/main.s Mon Jan 30 08:29:05 2017 +0200 +++ b/src/main.s Mon Jan 30 16:57:51 2017 +0200 @@ -1,4 +1,12 @@ .text .global main main: + move.l #0xc00000, %a0 + move.l #0xc00004, %a1 + move.w #0xc000, (%a1) + move.w #0, (%a1) + move.w #0x1f8, (%a0) + move.w #0x8700, (%a1) | set bg color to 0 + move.w #0x8004, (%a1) + move.w #0x8144, (%a1) | enable display rts