mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 17:16:44 +00:00
Filled in most of the loads.
This commit is contained in:
@@ -16,9 +16,10 @@ AllRAMProcessor::AllRAMProcessor() : ::CPU::AllRAMProcessor(65536) {}
|
||||
int AllRAMProcessor::perform_machine_cycle(const MachineCycle *cycle) {
|
||||
switch(cycle->operation) {
|
||||
case BusOperation::ReadOpcode:
|
||||
printf("! ");
|
||||
check_address_for_trap(*cycle->address);
|
||||
case BusOperation::Read:
|
||||
printf("r %04x\n", *cycle->address);
|
||||
printf("r %04x [%02x]\n", *cycle->address, memory_[*cycle->address]);
|
||||
*cycle->value = memory_[*cycle->address];
|
||||
break;
|
||||
case BusOperation::Write:
|
||||
|
||||
Reference in New Issue
Block a user