diff --git a/README.md b/README.md index 20c344f..bc6d3a4 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,11 @@ * AbsoluteY: argument is an 16-bit address, incremented by Y with carry * Indirect: argument an address (A); the effective value is an address (B) stored at that address (A); used only by Jump * IndirectX: argument is an 8-bit address; find a value at this address incremented by the value X -* IndirectY: argument is an 8-bit address; find a value at this address; increment the value by Y \ No newline at end of file +* IndirectY: argument is an 8-bit address; find a value at this address; increment the value by Y + +## TODO + +- assembly doc w/ define support +- label region as assembly doc +- postfix operations to accumulator values +- loops \ No newline at end of file diff --git a/src/main/scala/com/htmlism/mos6502/dsl/DslDemo.scala b/src/main/scala/com/htmlism/mos6502/dsl/DslDemo.scala index 4e6bbed..58a3b8f 100644 --- a/src/main/scala/com/htmlism/mos6502/dsl/DslDemo.scala +++ b/src/main/scala/com/htmlism/mos6502/dsl/DslDemo.scala @@ -39,16 +39,6 @@ object DslDemo extends App { A.add(0xc4) } - // first color example - withAssemblyContext { implicit ctx => - val scr = - IndexedAddressCollection[Color](0x0200, "screen") - - scr.write(0, Color.White) - scr.write(1, Color.Green) - scr.write(2, Color.Orange) - } - def withAssemblyContext(f: AssemblyContext => Unit): Unit = { val ctx: AssemblyContext = new AssemblyContext