Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
BIOS protection by Holly
Автор Сообщение
MetalliC Не на форуме
Продвинутый
***

Сообщений: 185
Зарегистрирован: 31.07.2013
Рейтинг: 2
Сказал спасибо: 15
Поблагодарили 33 раз(а) в 15 сообщ.
Сообщение: #6
RE: need help with dreamcast HDD IDE
(13.06.2014 09:27)kof888 писал(а):  mov.l @(h'EC,pc), r5 ; [8C0005F4] = h'A0008000
mov.w @(h'F0,pc), r4 ; [8C0005FA] = h'300
mov.w @(h'EC,pc), r0 ; [8C0005F8] = h'3400
bsr sub_8C00055E
а откуда это? я смотрел под отладчиком - да, в 8C00055E процедурка сравнения, но с такими аргументами она у меня не вызывалась.

Цитата:I'm wondering if the 0x001ffff can be reduced though?
It may just be to set the "size" of the final checksum and initialize it.
for sure.
for example Sammy Atomiswave have only 128Kb BIOS, so code writes 0xA677 to this register and then execute a read loop until this address.

from my current knowledge about "how it works" - 5F74E4 register is definitely "last address of checksum calculation".
then its written - device resets to "locked" state and (starts to )or(switch to state of) calculate checksum until that address.
after reading this "last address" calculated checksum compared with some hardcoded value, and if they match - G1 bus will be unlocked.

but how this is done totally unclear...
imo there is 2 options -
1. hardware reads data automatically, by itself, so "read loop" in bios code is just a delay, long enough until Holly reads BIOS and unlocks G1 bus.
2. hardware monitor data passed through G1 bus (i.e. bios readed by code) and summs them, and then readed address will match "last address" it compares calculated summ.
(Последний раз сообщение было отредактировано 16.06.2014 в 01:17, отредактировал пользователь MetalliC.)
16.06.2014 01:14
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
BIOS protection by Holly - OzOnE - 12.06.2014, 21:48
RE: BIOS protection by Holly - cybdyn - 18.06.2014, 14:36
RE: BIOS protection by Holly - SWAT - 18.06.2014, 15:57
RE: BIOS protection by Holly - cybdyn - 18.06.2014, 14:39
RE: BIOS protection by Holly - cybdyn - 18.06.2014, 14:51
RE: BIOS protection by Holly - cybdyn - 18.06.2014, 17:22
RE: BIOS protection by Holly - SWAT - 18.06.2014, 18:11
RE: BIOS protection by Holly - OzOnE - 18.06.2014, 18:34
RE: BIOS protection by Holly - cvgs - 18.09.2014, 18:31
RE: BIOS protection by Holly - SWAT - 18.09.2014, 18:57
RE: BIOS protection by Holly - shadow - 19.09.2014, 07:07
RE: BIOS protection by Holly - SWAT - 19.09.2014, 08:11
RE: BIOS protection by Holly - shadow - 19.09.2014, 10:13
RE: BIOS protection by Holly - SWAT - 19.09.2014, 10:44
RE: BIOS protection by Holly - shadow - 19.09.2014, 11:00
RE: BIOS protection by Holly - SWAT - 19.09.2014, 13:00
RE: BIOS protection by Holly - shadow - 19.09.2014, 13:24
RE: BIOS protection by Holly - SWAT - 19.09.2014, 13:45
RE: BIOS protection by Holly - SWAT - 20.09.2014, 09:28
RE: BIOS protection by Holly - cvgs - 20.09.2014, 09:54
RE: BIOS protection by Holly - shadow - 22.09.2014, 10:28
RE: BIOS protection by Holly - SWAT - 22.09.2014, 12:47
RE: BIOS protection by Holly - shadow - 06.10.2014, 14:02
RE: BIOS protection by Holly - SWAT - 06.10.2014, 15:08
RE: BIOS protection by Holly - SWAT - 09.10.2014, 11:31
RE: BIOS protection by Holly - alex - 21.06.2016, 13:27
RE: BIOS protection by Holly - SWAT - 07.06.2016, 09:01
RE: BIOS protection by Holly - SWAT - 07.06.2016, 14:30
RE: BIOS protection by Holly - SWAT - 20.06.2016, 10:34
RE: BIOS protection by Holly - SWAT - 21.06.2016, 09:25
RE: BIOS protection by Holly - SWAT - 22.06.2016, 21:10
RE: BIOS protection by Holly - SWAT - 21.06.2016, 14:36
RE: BIOS protection by Holly - SWAT - 23.06.2016, 08:33
RE: BIOS protection by Holly - SWAT - 24.06.2016, 08:14
RE: BIOS protection by Holly - SWAT - 24.06.2016, 14:43
RE: BIOS protection by Holly - alex - 24.06.2016, 18:19
RE: BIOS protection by Holly - cvgs - 24.06.2016, 21:06
RE: BIOS protection by Holly - alex - 24.06.2016, 21:47
RE: BIOS protection by Holly - SWAT - 25.06.2016, 09:01
RE: BIOS protection by Holly - SWAT - 24.06.2016, 19:30
RE: BIOS protection by Holly - alex - 26.06.2016, 11:11
RE: BIOS protection by Holly - alex - 24.06.2016, 19:44
RE: BIOS protection by Holly - alex - 24.06.2016, 21:08
RE: BIOS protection by Holly - cvgs - 24.06.2016, 21:18
RE: BIOS protection by Holly - cvgs - 24.06.2016, 21:22
RE: BIOS protection by Holly - SWAT - 24.06.2016, 21:36
RE: BIOS protection by Holly - SWAT - 26.06.2016, 12:31
RE: BIOS protection by Holly - cybdyn - 26.09.2016, 11:23
RE: BIOS protection by Holly - SWAT - 11.11.2016, 07:38
RE: need help with dreamcast HDD IDE - MetalliC - 16.06.2014 01:14

Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
  BIOS Guest 22 66061 27.06.2005 15:39
Посл. сообщение: STIV

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)