summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dccons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/dccons.cpp')
-rw-r--r--src/mame/machine/dccons.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/dccons.cpp b/src/mame/machine/dccons.cpp
index 776e6d8ead2..0a0792c14d6 100644
--- a/src/mame/machine/dccons.cpp
+++ b/src/mame/machine/dccons.cpp
@@ -126,12 +126,12 @@ READ32_MEMBER(dc_cons_state::dc_mess_g1_ctrl_r )
case SB_GDLEND:
//machine().debug_break();
return atapi_xferlen; // TODO: check me
- case SB_SECUR_EADR: // always read 0xFF on hardware
+ case SB_SECUR_EADR: // always read 0xFF on hardware
return 0x000000ff;
- case SB_SECUR_STATE: // state of BIOS checksum security system (R/O):
+ case SB_SECUR_STATE: // state of BIOS checksum security system (R/O):
// 3 - check passed OK, G1 ATA (5F70xx) registers area accessible
- // 2 - check failed, G1 ATA area blocked (read FFFFFFFFh)
- // 0 - check in progress, BIOS data summed, G1 ATA area blocked (read FFFFFFFFh)
+ // 2 - check failed, G1 ATA area blocked (read FFFFFFFFh)
+ // 0 - check in progress, BIOS data summed, G1 ATA area blocked (read FFFFFFFFh)
return 3;
default:
printf("G1CTRL: Unmapped read %08x\n", 0x5f7400+offset*4);
@@ -185,10 +185,10 @@ WRITE32_MEMBER(dc_cons_state::dc_mess_g1_ctrl_w )
if values doesn't match - security system switch to state 2 (check fail):
- G1 ATA locked
- - can be switched to state 0 by write to SB_SECUR_EADR register, however passing valid data block through security system set it back to state 2
+ - can be switched to state 0 by write to SB_SECUR_EADR register, however passing valid data block through security system set it back to state 2
- the only exit from this state - power off/on or reset;
- current state can be read from SB_SECUR_STATE register
+ current state can be read from SB_SECUR_STATE register
actual checksum algorithm is unknown, but its supposed to be simple and weak,
known few modded BIOSes which succesfully passes this CRC check, because of good luck