6502 emulator for Commodore 64 ROMs, serial terminal edition for MBED. Recommend terminal echo on, line edit on, caps lock, 115200bps, implicit carriage return on newline, currently non-buffered so don't paste lots of stuff
More details at:
[https://github.com/davervw] [https://techwithdave.davevw.com/2020/03/simple-emu-c64.html]
Diff: emuc64.cpp
- Revision:
- 3:f978776f810c
- Parent:
- 2:71772e55220f
- Child:
- 4:0461c100cbbb
--- a/emuc64.cpp Thu Apr 09 14:52:40 2020 +0000 +++ b/emuc64.cpp Fri Apr 10 04:32:54 2020 +0000 @@ -63,11 +63,6 @@ // ROMs copyright Commodore or their assignees //////////////////////////////////////////////////////////////////////////////// -//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -//uncomment for Commodore foreground, background colors and reverse emulation -//#define CBM_COLOR -//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - #include <mbed.h> #include <LocalFileSystem.h> #include "emu6502.h" @@ -82,7 +77,7 @@ // locals static int startup_state = 0; -LocalFileSystem local("local"); +//LocalFileSystem local("local"); //static void File_ReadAllBytes(byte* bytes, unsigned int size, const char* filename) //{