4 ms·
Asi64 – A Racket-based 6502 assembler
- t0mek 9y agoSimilar solution in Haskell: http://wall.org/~lewis/2013/10/15/asm-monad.html http://wall.org/~lewis/2013/10/15/asm-monad.html It allows to embed 6502 assembly in the Haskell code and use the latter as a macro language.
- __s 9y agoI've been wanting to do something like this but for WebAssembly & with Guile. Feels like it be useful compared to the hand writing I've been doing, here's an in-progress lexer: https://github.com/serprex/luwa/blob/master/rt/lex.wawa https://github.com/serprex/luwa/blob/master/rt/lex.wawa with the janky wawa assembler being https://github.com/serprex/luwa/blob/master/scripts/wawa.js https://github.com/serprex/luwa/blob/master/scripts/wawa.js
- davidjhall 9y agoCan this work with Atari 8bit and 2600 or just C64?
- throwaway7645 9y agoI imagine the assembly is processor specific no?
- khedoros1 9y agoA note at the bottom says that it would also work for the NES, so I imagine that it would work for anything that uses that family of CPU.
- spdegabrielle 9y agoLooking at the code it looks like you could easily change it for other chipsets https://github.com/pezipink/asi64/blob/master/expander.rkt https://github.com/pezipink/asi64/blob/master/expander.rkt