mirror of
https://github.com/romychs/Ocean-240.2-Emulator.git
synced 2026-10-31 19:57:09 +03:00
Additional floppy drive C 720k
This commit is contained in:
1 parent
e28b052cbf
commit
ed43a19a10
8 files changed
+213
-139
No files matched your search
+5
-1
@@ -155,7 +155,7 @@ func (z *Z80) updateXY(result byte) {
|
||||
z.xf = result&0x08 != 0
|
||||
}
|
||||
|
||||
func (z *Z80) debugOutput() {
|
||||
func (z *Z80) DebugOutput() {
|
||||
log.Debugf("PC: %04X, AF: %04X, BC: %04X, DE: %04X, HL: %04X, SP: %04X, IX: %04X, IY: %04X, I: %02X, R: %02X",
|
||||
z.pc, (uint16(z.a)<<8)|uint16(z.get_f()), z.get_bc(), z.get_de(), z.get_hl(), z.sp,
|
||||
z.ix, z.iy, z.i, z.r)
|
||||
@@ -163,3 +163,7 @@ func (z *Z80) debugOutput() {
|
||||
log.Debugf("\t(%02X %02X %02X %02X), cyc: %d\n", z.rb(z.pc), z.rb(z.pc+1),
|
||||
z.rb(z.pc+2), z.rb(z.pc+3), z.cyc)
|
||||
}
|
||||
|
||||
func (z *Z80) Reset() {
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user