Incorporated improvements into IDE and adjusted changelog accordingly

master
Jeremiah Orians 7 years ago
parent bfde853549
commit fd7c684e57
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD

@ -5,6 +5,7 @@
+ Documented build steps in notes.org
+ Imported CMPSKIP instructions that operate on 2 registers
+ Imported CMPJUMP instructions that operate on 3 registers
+ Incorporated bounds checking on all vm->Memory accesses
** Changed
+ Renamed xeh1 files to match current naming standard

@ -37,7 +37,7 @@ void execute_vm(struct lilith* vm)
void initialize_lilith()
{
struct lilith* vm;
vm = create_vm(1 << 22);
vm = create_vm(1 << 20);
Globalvm = vm;
}
@ -67,11 +67,13 @@ void set_register(unsigned int reg, unsigned int value)
void set_memory(unsigned int address, unsigned char value)
{
outside_of_world(Globalvm, address, "Address outside of World");
Globalvm->memory[address] = value;
}
unsigned char get_byte(unsigned int add)
{
outside_of_world(Globalvm, add, "Address outside of World");
return Globalvm->memory[add];
}

Loading…
Cancel
Save