Commit graph

19 commits

Author SHA1 Message Date
Daniel Reimer a7fddf9c07 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29689
2007-10-19 23:05:02 +00:00
Magnus Olsen 70ab8ffa3c start implement detections of export functions name. not finish does not working yet. Only fix pe loader so it works
svn path=/trunk/; revision=25658
2007-01-28 19:52:02 +00:00
Magnus Olsen 2bdeda8d07 fixing a small disambler bug for mr
svn path=/trunk/; revision=25553
2007-01-21 15:06:57 +00:00
Magnus Olsen fa8f26e7c6 Fixing the src and dst of register so they are being read right (PPC brain)
Adding stw for dissembler and converting (PPC and IA32)
Fixing a counter bug in ConvertBitToByte, ConvertBitToByte32, GetMaskByte, GetMaskByte32
we did miss one bit calculation when we count the mask the bit 0 

svn path=/trunk/; revision=25527
2007-01-19 08:20:42 +00:00
Magnus Olsen a286bd796f Adding stwu to converting to ia32
fixing some smaller bug when it was disabmler
fixing dymatic translations of abi for ppc and ia32


svn path=/trunk/; revision=25517
2007-01-18 21:35:48 +00:00
Magnus Olsen 36a8eccf27 Implement disambler for stwu, left todo add it to the Converter
svn path=/trunk/; revision=25514
2007-01-18 19:33:48 +00:00
Magnus Olsen 69999a5ad4 This break the ppc disambler support and convert to ia32, temporary
I change the desgin lite to preopare the ia32 to ppc 

svn path=/trunk/; revision=25495
2007-01-17 15:02:43 +00:00
Magnus Olsen 363cf7f261 the public frist version that can convert arty testms.exe that are commited to powerpc branch in the alink folder.
the program doing main() ( return 0 )
fixing minior bugs as well

svn path=/trunk/; revision=25453
2007-01-14 18:01:56 +00:00
Magnus Olsen c96114a82c start on adding the own langues, this version create a memory leak if u try run this tool in translate mode. but not in
disambler mode. (only true for ppc brain about memory leak)

svn path=/trunk/; revision=25445
2007-01-13 23:26:32 +00:00
Magnus Olsen ad3d7fea36 adding print out the type of asm file in the asm file
svn path=/trunk/; revision=25439
2007-01-13 14:34:50 +00:00
Magnus Olsen 9b4a7b1fc5 adding option for disambler mode, disambler mode does not translate a binary file. it doing a disambler of the file
svn path=/trunk/; revision=25438
2007-01-13 12:23:25 +00:00
Magnus Olsen 4ffa785260 1. last move is done arm to From folder
2. remove some include in CpuToIntel.c file they are not longer need it. 


svn path=/trunk/; revision=25436
2007-01-13 10:39:12 +00:00
Magnus Olsen 40bbafca90 Create a folder call From and start move in all cpu we will in futer translate from
svn path=/trunk/; revision=25435
2007-01-13 10:27:17 +00:00
Magnus Olsen 2aab0c74eb backport the start of a pe loader,
backport allot of bug fix. like open file, reading file.
My working copy have allot of hacks and is a big mess. This stuff is cleanup from it.  

svn path=/trunk/; revision=25433
2007-01-12 21:11:44 +00:00
Magnus Olsen fe4dcf7a00 1. starting adding pe loader to cputointel to misc.c
2. move the loadimage stuff to own functions to misc.c
3. rewrite so loader call to brain* after it load the image.
4. setup main using the loader
5. add few more input param to main -in, -inexe, -in try autodetect type of file, -inexe try convert a PE file. 

svn path=/trunk/; revision=25272
2007-01-02 02:21:58 +00:00
Magnus Olsen 3aa0dd271b Adding stubed arm4 for my CpuToIntel tool.
Now we got tree diffent arch we can port over to intel x86 asm. But this tool are experment tool

svn path=/trunk/; revision=25261
2007-01-01 13:37:24 +00:00
Magnus Olsen 791dced4bb adding a stubed ppc brain, to my cputointel tool
svn path=/trunk/; revision=25258
2007-01-01 00:30:58 +00:00
Magnus Olsen 00095b75ef 1. setup input param to main
2. implement cpu type flag in dummy and m68k 
3. Adding more opcode for m68k, but they are stubed 
Time to test the code and start implement m68k in next commit

svn path=/trunk/; revision=25257
2006-12-31 18:45:35 +00:00
Magnus Olsen 39436f3008 initate work of a CPUtranslator, example M68k to Intel. it is writen so not only M68k can be added. it does not work at all. it is a ground layout how I should code it.
svn path=/trunk/; revision=25251
2006-12-31 14:59:07 +00:00