DC-SWAT Forum
SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - Версия для печати

+- DC-SWAT Forum (http://www.dc-swat.ru/forum)
+-- Форум: Sega Dreamcast (/forum-2.html)
+--- Форум: Programming (/forum-8.html)
+--- Тема: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT (/thread-2037.html)



SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - Renji-kun - 08.07.2013 13:10

Перезалейте у кого осталось, пожалуйста


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - SWAT - 08.07.2013 21:10

Что конкретно тебе оттуда нужно?


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - Renji-kun - 08.07.2013 22:51

SWAT, нужен дизассемблер


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - SWAT - 09.07.2013 07:53

Скачай на просторах интернета - "IDA Professional Edition", там есть поддержка SH4 Dreamcast.
https://www.hex-rays.com/products/ida/processors.shtml


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - sc_maxim - 09.07.2013 19:47

(08.07.2013 13:10)Renji-kun писал(а):  Перезалейте у кого осталось, пожалуйста
У меня есть. Пару лет назад кто-то просил из форумчан, так на почте и осталось в отправленных Smile Могу на мыло выслать, если нужно.


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - Lin - 09.07.2013 23:06

залей лучше для всех пожалуйста Smile


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - sc_maxim - 09.07.2013 23:56

Выложил на Дробокс, прошу :-) Тут


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - kof888 - 26.08.2013 19:54

thank you~~
How to use sh4dis.exe and sh4disasm.exe

SH4 Disassember
dish4 <inputfile> <outputfile> [startaddress]
sh4disasm 2.bin 111.txt 0x8c020000
???
L00000000:
dc.w $0009,$0009,$0009,$0009,$0009,$0009



SH4 Disassembler v1.0 by SWAT
Usage: sh4dis [flags] filename
Flags:
-b<address> Binary file, text start
-o<filename> File to write output to (default: stdout)
-d Standard displacement

sh4dis 2.bin > 1.txt
Dreamcast SH4 Disassembler V1.0
Coded by SWAT

H'8c010000: H'0009 .. nop
H'8c010002: H'0009 .. nop
H'8c010004: H'0009 .. nop
H'8c010006: H'0009 .. nop
H'8c010008: H'0009 .. nop
H'8c01000a: H'0009 .. nop


????


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - SWAT - 27.08.2013 06:47

Apparently such content in 2.bin...

Я кстати нашел свой архив и выложил на сайт.


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - kof888 - 27.08.2013 10:31

I mean, I 2.txt content inside is
nop
nop
nop
nop
and then I can be converted into binary machine code Well
0900 0900 0900 0900


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - SWAT - 27.08.2013 12:14

For compile asm you need use sh-elf-as from SH4 toolchain.


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - kof888 - 27.08.2013 14:28

thank you swat~

but

where is SH4 toolchain.??


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - SWAT - 27.08.2013 14:48

For example, download it from DreamShell page (GCC 4.5.2 Newlib 1.19) or build it yourself from GCC source.


RE: SH4 Disassemblers and Official bin utils Pack v1.0 by SWAT - kof888 - 28.08.2013 02:57

thank you~~

I thought SH4 Disassember can also do this~ lol