redcode / 6502 Goto Github PK
View Code? Open in Web Editor NEWHighly portable MOS 6502 CPU emulator written in ANSI C
License: GNU General Public License v3.0
Highly portable MOS 6502 CPU emulator written in ANSI C
License: GNU General Public License v3.0
Forgive me, I am completely new to C & C++. I am looking for a C library that can "play" (output waveform samples") for NSF and NSFe audio files. I have found a project game-music-emu which contains support for many different types of 8 & 16 emulators but it is written in C++ and I have a need to use C only code due to the development environment for my project.
Would this be a good candidate?
Hi, I'm making a emulator for my hobby computer using the 6502 CPU. I'm using this library for my emulator CPU emulation. The only thing is, I don't know how to use this. Do I need to power the CPU on and then run the CPU with specified cycles?
Please consider changing the license to something more compatible with a library, such as the LGPL or MIT/BSD. This would allow static linkage and easier inclusion in projects that are more permissively licensed.
The link to Z in the README.md file is not useful, it just leads to a page that says 'Coming Soon...'. A better link would be https://github.com/redcode/Z I think.
ASL, INC and possibly other read/write instructions do two writes on an original 6502.
They first write the original value, then the modified one.
The CMOS 65C02 behave differently.
That can cause issues when working on memory mapped I/O, such as what is done on the C64.
Installed the Z headerless library as instructed. When building this project, however, it is looking for the file Z/hardware/CPU/architecture/6502.h
:
$ make config=release-dynamic all
==== Building 6502 (release-dynamic) ====
6502.c
In file included from ../sources/6502.c:47:
../API/emulation/CPU/6502.h:27:17: fatal error: Z/hardware/CPU/architecture/6502.h: No such file or directory
27 | # include <Z/hardware/CPU/architecture/6502.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [6502.make:262: obj/release-dynamic/6502.o] Error 1
make: *** [Makefile:17: 6502] Error 2
The directory architecture
and the files inside there don't exist under CPU
:
$ ls /usr/local/include/Z/hardware/CPU/
6502.h Z80.h
Did I miss something during Z installation?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.