doc; drop three pixel demo

This commit is contained in:
Mark Canlas 2020-08-15 13:52:05 -04:00
parent e6b04c384e
commit 9c22c22a6f
2 changed files with 8 additions and 11 deletions

View File

@ -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
* 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

View File

@ -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