snes-emu / gose Goto Github PK
View Code? Open in Web Editor NEWA work in progress SNES emulator written in go
License: GNU General Public License v3.0
A work in progress SNES emulator written in go
License: GNU General Public License v3.0
TAX TAY TSX TXA TXS TXY TYA TYX instructions are left unimplemented. There are rather straight forward to write
What's the status of this project?
The CPU runs much slower than expected. data fetching is the major bottleneck.
BoolToUint16 should be used as a function (not as a hashmap)
gose/opcodegen/opcode_functions.py
Lines 15 to 20 in 5041296
Currently the APU is not emulated, all games hang at its initialization
STP and WAI aren't implemented for now, we need to think of how we want to dot this
opcode 6F is missing
Since the CPU is using little endian convention our functions should too.
For example:
func JoinUint16(HH uint8, LL uint8) uint16 {
var ret uint16
buf := bytes.NewBuffer([]byte{LL, HH})
binary.Read(buf, binary.LittleEndian, &ret)
return ret
}
Should be
func JoinUint16(LL uint8, HH uint8) uint16 {
var ret uint16
buf := bytes.NewBuffer([]byte{LL, HH})
binary.Read(buf, binary.LittleEndian, &ret)
return ret
}
Line 35 in 5041296
Super Metroid loops on those instructions:
80/843C: AD1242 lda $4212
80/843F: 10FB bpl $843C
The $4212 register is the HVBJOY register:
https://github.com/snes-emu/gose/blob/cpu-registers/core/io_register.go#L171-L189
This may come from the fact that V-blank trigger is not implemented yet.
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.