py65
Emulate 6502-based microcomputer systems in Python (by mnaberez)
py65_65816
Add support for the 65C816 to py65 (by tmr4)
Our great sponsors
py65 | py65_65816 | |
---|---|---|
11 | 3 | |
226 | 4 | |
- | - | |
6.7 | 0.0 | |
16 days ago | over 2 years ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
py65
Posts with mentions or reviews of py65.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-11.
-
Writing a 6502 emulator in Python
Here’s a working one already https://github.com/mnaberez/py65
-
Some helpful 65816 programming tools
I use the cc65 toolset to program my 65c02 projects and the py65 emulator to help debug them. I use a slightly modified version of da65, the cc65 disassembler, to create a complete listing of my code, something I find very useful for multi-file projects.
-
Simulating the 65C816 in py65
I've recommended py65, by Mike Naberezny, for 6502 development and have created several enhancements to it for my own builds (interrupt handling and debug window). Unfortunately, py65 doesn't support the 65C816. Luckily, it's open source and easy to modify, so I thought I'd try adding support for the 65C816.
-
Adding a separate debug window to the py65 6502 emulator
I didn't understand Python enough at the time. I could probably figure it out now that I know more, but those commands aren't really useful to me for how I use the monitor. I added the continue command which does what I wanted. Interestingly, someone requested that a continue command be added to py65 back in 2019.
-
Handling 6502 interrupts in py65
Py65, by Mike Naberezny, is a great simulator for the 6502. I recommend checking it out, especially as your 6502 build and code get more advanced. Py65 doesn't handle interrupts though, so if your build uses them, you either need to create a version of your code to simulate or modify py65 to handle your hardware binary. The former is the best option for most people, but the latter might be attractive to folks who don't want to deal with two versions of their code.
-
Ok, this is a better video than my post yesterday... Improved VGA circuit for my 6502 [currently prototyping] (and with added mouse support 😃)
Thanks for all of the info. It looks very interesting. I'll have to resist getting sidetracked. Not easy to do. I'm currently on another sidetrack adding interrupt capability to the py65 simulator. Not really needed, but it means I don't need to maintain a separate code base for the simulator. It has the added benefit of letting me work with Python.
-
6502 development 'philosophy??
I recommend cc65 as well and might as well mention the py65 emulator. Both are great tools that have aided my development.
-
Playing Cosmic Conquest, a old-style real-time strategy game, on my breadboard 6502
Luckily there is a nice 6502 emulator, py65, that makes development easier. Without that I don't think I would have every attempted this. Once I got it running on the emulator it was fairly straight forward getting it to run on the breadboard 6502. Working on the actual hardware did provide some unique challenges though.
-
Enhanced version of Cosmic Conquest (a Forth based game from 1982)
Thanks. I've been using py65 for my development.
-
An attempt at resurrecting Cosmic Conquest (1982). PRs welcome. I expect a challenge on this one.
I'll probably be working to get a version of this running in my ANSIish Forth in py65, a simulation of the 6502 in python. Py65 runs fine with terminal escape codes running in a compatible terminal program. I've tried it with Conway's Game of Life which works similarly.
py65_65816
Posts with mentions or reviews of py65_65816.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-15.
-
Starting a 65816 emulator in C#. I think this is going to be quite fun! So far: loading actual ROM binary, reading reset vector, jumping to and reading the first two bytes from that vector. (baby steps) I'll be able to dial this into my specific hardware config, which will be great.
One issue I had when I was finishing up my emulator was finding substantial programs to test that weren't designed for a particular architecture. I'm focused mainly on text-based programs, so it might not be as interesting for your emulation, but OF816, by Michael Guidero, is a larger program designed to be easily ported to new 65816-based systems. Here's my fork of it for my py65816 emulator as another example of porting it to an emulator. If you don't want to bother creating your own port or creating a binary, here's one with I/O mapped to 7FC0 and 7FE0 respectively. Load it at $8000 and reset to start. It uses bank 0 and bank 1 so you need to have at least those modeled.
-
Starting something new in February... Step 1: buy stuff. (W65C816S build)
Unfortunately, Liara Forth is coded specifically for the w65c265sxb development board. I'm not sure how hard it would be to get it running on 816sxb. I was able to get it running in my py65816 simulation by changing the getc and putc addresses in the binary. Maybe something similar would work for you.
-
Simulating the 65C816 in py65
I still have a lot of testing to do and not all features of the 65C816 are working yet. You can test it out yourself and follow my progress at GitHub.
What are some alternatives?
When comparing py65 and py65_65816 you can also consider the following projects:
6502 - DB6502: 65C02 based computer inspired by BE6502
py65_debug_window - Add a separate debug window to py65
6502 - Code for the 6502 microprocessor, mostly for the Replica 1 computer.
265SXB-Guide - A Most Very Unofficial Guide to the W65C265SXB
TaliForth2 - A Subroutine Threaded Code (STC) ANS-like Forth for the 65c02
LiaraForth - An "initial" ANSI(ish) Forth for the W65C265SXB SBC (65816 CPU)
m6502 - 6502 CPU implementation written in nMigen
of816 - Portable 32-bit Forth for the 65C816.
cc65 - cc65 - a freeware C compiler for 6502 based systems
of816 - Portable 32-bit Forth for the 65C816.
py65816 - Emulate 65816-based microcomputer systems in Python