I'm proud to announce 6502.sh, because the world needs another 6502 emulator!
6502.sh is about 3k lines of busybox ash compatible shell script, it provides an emulated ACIA serial port and is capable of running BASIC
It has an integrated interactive debugger, with breakpoints, single stepping, and a myriad of other features
Check it out here: https://codeberg.org/calebccff/6502.sh
![; ./6502.sh ./progs/basic/basic.bin
Loading ./progs/basic/basic.bin...
Reset vector: $E836
6502 EhBASIC [C]old/[W]arm ?
Memory size ? 32768
31999 Bytes free
Enhanced BASIC 2.22p5
Ready
10 PRINT "HI FROM 6502.SH"
20 GOTO 10
RUN
HI FROM 6502.SH
HI FROM 6502.SH
HI FROM 6502.SH
HI FROM 6502.SH
Status: $36
negative : 0
overflow : 0
constant : 1
break : 1
decimal : 0
interrupt: 1
zero : 1
carry : 0
Registers:
A : $00
X : $DF
Y : $02
SP: $FF
PC: $C4C3
Ran 31204 instructions
65sh>](https://cache.treehouse.systems/media_attachments/files/114/171/608/704/629/836/original/f247eea9c1a1b154.png)