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
- Host: GitHub
- URL: https://github.com/jonocarroll/r64
- Owner: jonocarroll
- License: mit
- Created: 2021-12-16T11:11:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-16T11:12:33.000Z (over 4 years ago)
- Last Synced: 2025-09-19T10:46:48.773Z (9 months ago)
- Language: HTML
- Homepage: https://coolbutuseless.github.io/package/r64
- Size: 359 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
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()
```