Minor changes: 1.0.1

This commit is contained in:
patrick_pluto 2024-08-22 19:29:21 +02:00
parent d83aef84a7
commit d77733d29f
2 changed files with 48 additions and 49 deletions

View file

@ -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 );
}
}
}

View file

@ -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 );