An open API service indexing awesome lists of open source software.

https://github.com/jonocarroll/r64

A c64/6502 assembler in R
https://github.com/jonocarroll/r64

Last synced: 4 months ago
JSON representation

A c64/6502 assembler in R

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r setup, include = FALSE}
suppressPackageStartupMessages({
library(dplyr)
library(r64)
})

knitr::opts_chunk$set(echo=TRUE)
```

`r64` - a c64/6502 assembler in R
==============================================================================

Full documentation is available here: [coolbutuseless.github.io/package/r64](https://coolbutuseless.github.io/package/r64)

Rationale
------------------------------------------------------------------------------

* Who *doesn't* want a compiler for a **1 MHz** 8-bit computer with 16 colours and a max resolution of 320x200?
* A 6502 assembler in R will allow for preparing/calculating
data in R and then incorporating directly into the assembly code. e.g.
* creating character sets
* computing animation paths

Features
------------------------------------------------------------------------------

General features

* Basic syntax only. Similar to TASS64 syntax.
* Settable program counter
* e.g. `* = $0801`
* Defined variables
* e.g. `border = $d020`
* Low/High byte extraction from symbol (similar to TASS)
* e.g. `lda #%
select(addr, label, line, opcommand, op, ophex, nbytes, hexbytes) %>%
knitr::kable()
```