hasegawa-tomoki / php-terminal-nes-emulator Goto Github PK
View Code? Open in Web Editor NEWA PHP terminal NES emulator
License: MIT License
A PHP terminal NES emulator
License: MIT License
PHP 7.1.19 (cli) (built: Aug 17 2018 18:03:17) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
Rom size: 262160 (0x40010)
Program ROM pages: 8
Character ROM pages: 16
Mapper: 4
Character ROM start: 0x20010 (131088)
Character ROM end: 0x40010 (262160)
Program ROM: 0x0000 - 0x1ffff (131071 bytes)
Character ROM: 0x0000 - 0x1ffff (131071 bytes)
Initial pc: ffff
Fatal error: Uncaught TypeError: Argument 1 passed to Nes\Cpu\Cpu::getAddrOrDataWithAdditionalCycle() must be an instance of Nes\Cpu\Addressing, null given, called in /path/to/php-terminal-nes-emulator/src/Cpu/Cpu.php on line 646 and defined in /path/to/php-terminal-nes-emulator/src/Cpu/Cpu.php:54
Stack trace:
#0 /path/to/php-terminal-nes-emulator/src/Cpu/Cpu.php(646): Nes\Cpu\Cpu->getAddrOrDataWithAdditionalCycle(NULL)
#1 /path/to/php-terminal-nes-emulator/src/Nes.php(112): Nes\Cpu\Cpu->run()
#2 /path/to/php-terminal-nes-emulator/src/Nes.php(128): Nes\Nes->frame()
#3 /path/to/php-terminal-nes-emulator/boot.php(43): Nes\Nes->start()
#4 {main}
thrown in /path/to/php-terminal-nes-emulator/src/Cpu/Cpu.php on line 54
use example case . zshel shows "Nes ROM file not found.%"
Have you seen this fork?
https://github.com/sj-i/php-terminal-nes-emulator/tree/optimize
I've gone from 5fps to 10fps just like that.
Hi.
Composer.lock is forcing PHP 7.1, so
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0].
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
Problem 2
- Installation request for myclabs/deep-copy 1.8.1 -> satisfiable by myclabs/deep-copy[1.8.1].
- myclabs/deep-copy 1.8.1 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
Problem 3
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
- phpunit/phpunit-mock-objects 5.0.10 requires doctrine/instantiator ^1.0.5 -> satisfiable by doctrine/instantiator[1.1.0].
- Installation request for phpunit/phpunit-mock-objects 5.0.10 -> satisfiable by phpunit/phpunit-mock-objects[5.0.10].
in awesome-github-wechat-weapp/php-terminal-nes-emulator/src/Nes.php:108
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.