Author Topic: Wip Static Recompiler For 8086 At Zaurus C860  (Read 7945 times)

hilarycheng

  • Newbie
  • *
  • Posts: 41
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« on: September 16, 2006, 04:00:07 am »
I have written a static recompiler for 8086. Now it converts "Romance of Three Kingdom 1" to C source code. Then compiles C source code to ARM and X86 Platform. I have recorded a movie at Youtube.

Here is the video :

http://www.youtube.com/watch?v=-7UidW2tMtQ
----------------------
My Blog

http://hilary.e-fever.org

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #1 on: September 16, 2006, 07:55:01 am »
Cool  

Will this work for most/all dos games? Are you taking requests for what games/apps to convert next?  
« Last Edit: September 16, 2006, 07:55:56 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

hilarycheng

  • Newbie
  • *
  • Posts: 41
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #2 on: September 16, 2006, 11:16:04 am »
If possible, I hope it can convert everything automatically, but it seems it cannot. since code is not aligned for instruction. (it means some constant will affect the code generation). As my plan, it will be contained lots of template like MAME. for converting games. You can select it and generate C Code and port it to many platform.
----------------------
My Blog

http://hilary.e-fever.org

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #3 on: September 17, 2006, 07:30:48 am »
Wow!

This looks like a very cool project- I'm just struggling to think opf a DOS app I would like to run on the Z over a native linux equivalent- can't think of one. 3D studio would be an interesting novelty if we could get it running but I can't see it being useable in any way- would it even run on a 640x480 display?

But MAME- thats different! I'm still waiting for someone to create a Z optimised MAME, most likely a port of GP2X MAME
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #4 on: September 17, 2006, 11:38:04 am »
could you try decompiling sensible soccer executable? Just to understand the speed schievement at this stage.

You can download it from Home Of The Underdogs.

zodttd

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #5 on: September 17, 2006, 02:10:23 pm »
Sensible Soccer is a great one!
http://www.zodttd.com for all your psx4all needs (as in downloads and support). :)

CLICK HERE TO DONATE ANY AMOUNT VIA PAYPAL

Thanks for the support! I can hardly wait to get back into Zaurus development again. :)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #6 on: September 17, 2006, 03:14:43 pm »
Quote
Sensible Soccer is a great one!
Yeah but the best version was the Amiga's and that's 68K code  
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

zodttd

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #7 on: September 17, 2006, 04:03:10 pm »
sashz: You're around?! Hi!

I'm working on a port of this recompiler for the GP2X. I must say HilaryCheng code is very well written, a great programmer indeed. I am so excited about this project as it has great potential.

Glad to see interest in this project. It's well deserved.
http://www.zodttd.com for all your psx4all needs (as in downloads and support). :)

CLICK HERE TO DONATE ANY AMOUNT VIA PAYPAL

Thanks for the support! I can hardly wait to get back into Zaurus development again. :)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #8 on: September 18, 2006, 11:11:28 am »
zodttd- you around?  Hi!  

Last I heard from you zpsx (psx4all, whatever) was teetering on the verge of completion and being the most impressive emulation achievement ever, maybe. So what happened to that? Most everybody with a portable ARM device who knows a good way to waste time and impress their retro gaming mates are in convulsions waiting for your next release!

Sorry to hijack your thread Hilary. So you're a GIRL and you're coding WHAT? Excellent! I declare you the greatest female geek on OESF!

Be honoured!  
« Last Edit: September 18, 2006, 11:12:56 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #9 on: September 18, 2006, 11:52:13 am »
Quote
Sorry to hijack your thread Hilary. So you're a GIRL and you're coding WHAT?
Whoa, that's a bit patronising

Quote
Excellent! I declare you the greatest female geek on OESF!
This particular Hilary happens to be a guy. Check out at some of the old threads where someone else thought Hilary was a girl!
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #10 on: September 18, 2006, 12:15:42 pm »
   
#
#

Oh right! I've never heard Hilary as a guys name before- sorry!  

Somewhere in the universe there is an infinitely hot chick coding a PS2/3 emu for a calculator  
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #11 on: September 18, 2006, 12:21:08 pm »
Quote
Oh right! I've never heard Hilary as a guys name before- sorry! 
You're from the UK, and you've never heard of Hilary Benn?

hilarycheng

  • Newbie
  • *
  • Posts: 41
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #12 on: September 19, 2006, 02:14:40 am »
haa , I am sorry abt that I am a Male

Well, I am not Hilary Benn, I was a guy from Hong Kong.
----------------------
My Blog

http://hilary.e-fever.org

hilarycheng

  • Newbie
  • *
  • Posts: 41
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #13 on: September 19, 2006, 02:15:38 am »
currently, I am working with Zodttd for Gp2X Version. If the porting is great, I will port it from Gp2x to Zaurus to run.
----------------------
My Blog

http://hilary.e-fever.org

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Wip Static Recompiler For 8086 At Zaurus C860
« Reply #14 on: September 21, 2006, 11:53:08 am »
Master of Orion v1.3 would be a cool port.  This game uses EMS memory, though.  Can the recompiler handle that?