Comments (8)
Fixed as of 3131dbc
I'll wait for feedback before closing it.
from gospeccy.
It looks OK (I haven't tested whether it actually works, but I suppose it does).
from gospeccy.
Russ Cox on golang-nuts ML suggested the use of runtime.GOROOT() to search for system roms:
I would suggest including the ROM in your tree and having the emulator load it from there, using runtime.GOROOT() to create the path.
from gospeccy.
It is a good idea. The full path would be "GOROOT/pkg/linux_386/gospeccy/roms/48.rom"?
from gospeccy.
Yes.
from gospeccy.
The commit http://github.com/0xe2-0x9a-0x9b/gospeccy/commit/2f701dec107ac784af4933e0d0c58a25bff72df9 should make GOARCH and GOOS available from Go code, so that the path element "linux_386" can be created at runtime.
from gospeccy.
It seems that GOOS and GOARCH constants were added in the runtime package as of changeset 6158:523da6275fc6. We could infer them at runtime now.
from gospeccy.
Fixed as of c451c4f
from gospeccy.
Related Issues (20)
- Write tests for console.go HOT 11
- Add screenshot() command to the console HOT 1
- Makefile overkill HOT 6
- Add support for writing file in TAP format HOT 4
- Keyboard device on a separate goroutine? HOT 1
- gospeccy wont compile on OS X HOT 18
- GoSpeccy sporadically hangs up when closing the audio system HOT 2
- Fails to compile with the newest version of Go-PerfEvents HOT 2
- Console should not forget history when rescaling HOT 11
- Add support for saving snapshots in Z80 format
- Fullscreen mode hack HOT 2
- stress1.go test doesn't pass HOT 3
- Test are failing with current master HOT 2
- GoSpeccy running as a service
- Build GoSpeccy with gccgo HOT 1
- Screenshot in README.md HOT 1
- hardware supported
- can't compile due to missing dependency? HOT 7
- can't clone - repository corrupt? HOT 5
- New to go :D I want to make a small change to generate .sna after loading .tap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gospeccy.