Author Topic: Outpost 2 Asm Sdk  (Read 2303 times)

Offline HaXtOr

  • Sr. Member
  • ****
  • Posts: 423
    • http://www.moogle.jertechonline.com/
Outpost 2 Asm Sdk
« on: April 11, 2006, 11:20:26 AM »
Well as many of you know I have been takeing classes in college on asm.


would it be possible to create a asm sdk for op2 levels?

templates etc..

would we have more power over the levels we make then?

I have noticed that most of the command packet code is written in asm.

Offline Eddy-B

  • Hero Member
  • *****
  • Posts: 1195
    • http://www.eddy-b.com
Outpost 2 Asm Sdk
« Reply #1 on: April 23, 2006, 06:02:26 AM »
A lot of advanced code already makes use of asm calls and memory hacks. Without them things like repairing & researching would not be possible to code.

Some code has already been published on the coding pages here on this forum, and on the wiki
[size=8]Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1[/size]
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4396
Outpost 2 Asm Sdk
« Reply #2 on: April 30, 2006, 11:53:51 PM »
Any good C++ compiler allows for inline assembly. It'd be better to just use a C++ compiler and anything you need assembly for, just do it inline. It'd be much easier. A C++ compiler can take care of a lot of mundane details that would be a pain to deal with in assembly.

Besides, could you imagine dealing with those decorated exported names in their raw form?  :ph34r: