Minor changes: 1.0.1
This commit is contained in:
parent
d83aef84a7
commit
d77733d29f
2 changed files with 48 additions and 49 deletions
3
cpu.hpp
3
cpu.hpp
|
@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with thi
|
|||
#include <cstdlib>
|
||||
#include <cstdint>
|
||||
|
||||
namespace plutoisa {
|
||||
using namespace std;
|
||||
|
||||
uint8_t *registers = ( uint8_t * ) malloc ( 8 * sizeof ( uint8_t ) );
|
||||
|
@ -68,4 +67,4 @@ namespace plutoisa {
|
|||
cpuInstructions ( rom );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
4
main.cpp
4
main.cpp
|
@ -11,11 +11,11 @@ You should have received a copy of the GNU General Public License along with thi
|
|||
|
||||
#include "cpu.hpp"
|
||||
|
||||
using namespace plutoisa;
|
||||
using namespace std;
|
||||
|
||||
int main ( int argc, char *argv[] ) {
|
||||
const char *filename = argv[1];
|
||||
const int rom_size = 16;
|
||||
const int rom_size = 256;
|
||||
|
||||
ifstream file ( filename, ios::binary );
|
||||
|
||||
|
|
Reference in a new issue