News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Porting applications

Started by Bieb, January 12, 2005, 10:47:59 PM

Previous topic - Next topic

Bieb

With the advent of EasyCode, I now plan to switch all my programming to Win32 ASM.  So, now that I'm doing this, what do I need to learn to port my apps written in Win32 ASM to Mac OS X and Linux (with the X window system)?


hutch--

Bieb,

Jibz is right here, across different hardware and operating systems, you need a portable language so unless you have a strong enough stomach for JAVA, C is what you have left.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

petezl

Hi Bleb,
I wanted to program asm for xwindows but there is virtually no help out there for it.  As Jibz said, it's a C world.
Actually with a grounding in masm, C is reletively easy to pick up, just the funny syntax to get used to and you seem to be looking too deep all the time, but this can't be a bad thing.
Peter.
Cats and women do as they please
Dogs and men should realise it.

Bieb

I know some basics of C, but what I mean is, I obviously won't be able to just take some Windows C code and recompile it for Mac OS or Linux.  What I mean is, what sorts of system calls, etc., will I need to learn, and where can I find some basic tutorials to get started with?

P1

Your also programming across Intel/AMD vs Motorola uP ( microProcessors ) hardware as well as the OS hurdles.

Regards,  P1  :8)

petezl

There is an immense amount of information out there.  Do a search on xwindow programming. This is just one overview:
http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming.html
Peter
Cats and women do as they please
Dogs and men should realise it.

Vortex

Hi Bieb,

There are also other problems about porting applications to other platforms. For example, the equivalent of API functions in Linux are interrupts like int $0x80

exluddite

As far as Linux goes, you might want to take a look at this:

http://www.linuxgazette.com/node/9793

If you want the details  there's an O"Reilly book called "Understanding the Linux Kernel".

thomasantony

Hi,
   You may find this interesting

http://qrpc.com/ia32/

It is a GNOME app made using assembly

Thomas Antony :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free