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)?
C
:green
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.
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.
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?
Your also programming across Intel/AMD vs Motorola uP ( microProcessors ) hardware as well as the OS hurdles.
Regards, P1 :8)
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
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
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".
Hi,
You may find this interesting
http://qrpc.com/ia32/
It is a GNOME app made using assembly
Thomas Antony :U