fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

8080: Put 'A' on the data bus during 'IN' instructions

+4 -1
+4 -1
src/cpu/e8080/opcodes.c
··· 1053 1053 /* OP DB: IN nn */ 1054 1054 static void op_db (e8080_t *c) 1055 1055 { 1056 + unsigned a; 1057 + 1056 1058 e8080_get_inst1 (c); 1057 - e8080_set_a (c, e8080_get_port8 (c, c->inst[1])); 1059 + a = (e8080_get_a (c) << 8) | c->inst[1]; 1060 + e8080_set_a (c, e8080_get_port8 (c, a)); 1058 1061 e8080_set_clk (c, 2, 10); 1059 1062 } 1060 1063