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

Сообщений: 65
Зарегистрирован: 20.07.2012
Рейтинг: 1
Сказал спасибо: 0
Поблагодарили 6 раз(а) в 5 сообщ.
Сообщение: #1
BIOS protection by Holly
Ok, some more thoughts (hope this is OK to post?)...

Код:
    /* initialize ROM checksum */
    *HW32(0xa05f74e4) = 0x001fffff;

    /* switch to double precision (for 64bit copying below) */
    reg[FPSCR] = 0x00140001;

    /* Copy various parts from ROM to RAM */
    /* This is done for two reasons:
     * First, code and data must be available to be executed from RAM
     * secondly, the data read from ROM are passed through some type
     * of "checksum". Unless a specific value is computed, a flag is
     * set to disable the GDROM drive. Sega must have put this in there
     * to "discourage" people from replacing the BootROM with their custom
     * versions!
     */
    src = (uint64_t *)0xa0000000;
    dst = (uint64_t *)0x8c000000;
    for (i = 0; i < 32; i++) {    /* skip the system variables */
        (void)*src++;        
        dst++;
    }
    for (i = 0; i < 2016; i++)     /* copy a0000100-a0004000 to 8c000100 */
        *dst++ = *src++;

    for (i = 0; i < 2048; i++) {    /* skip a0004000 to a0007fff */
        (void)*(src++);
        dst++;
    }
    for (i = 0; i < 258048; i++)     /* copy a0008000-a0200000 to 8c008000 */
        *(dst++) = *(src++);

    /* back to single precision */
    reg[FPSCR] = 0x00040001;

    boot2(reg[DBR]);

The above code was taken from the bottom of this page...
http://www.ludd.luth.se/~jlo/dc/

Could it simply be that the HOLLY chip is checking for something in the chunk of "License Screen" code in the BIOS, from 0x8000 to 0xB3FF?

This is the same chunk of code that it checks against the code in IP.BIN from 0x300 to 0x36FF...
http://mc.pp.se/dc/ip.bin.html

"Note that the code in this area can not be modified. The ROM checks every byte of it against a copy in the ROM, and will not boot the disk if there is a difference."

SWAT - have you tried just putting that chunk of code back in the ROM, then doing the GD activation check by copying only from 0x8000 to 0xB3FF?

I'll try some tests on that to see if it still passes the checksum.

OzOnE
12.06.2014 21:48
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
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

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

Переход:


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