Welcome, Guest. Please login or register.

Author Topic: Compiler's  (Read 2518 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Compiler's
« on: June 30, 2008, 07:59:40 AM »
for C only, m68k only stuff, and if you can afford it: SAS/C

For C and C++ stuff, for portable code, or if you want it free: gcc

gcc is a bit tedious to set up as you need ixemul environment aswell, but then again you then get make, and other industry standard tools.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Compiler's
« Reply #1 on: June 30, 2008, 03:16:15 PM »
Quote
Code: [Select]
(VGAInfo.x>640)?(VGAInfo.SVGA=1):(VGAInfo.SVGA=0);

That is one weird code. Typically it's written:
Code: [Select]
VGAInfo.SVGA = VGAInfo.x > 640 ? 1 : 0;
See Wikipedia: ?: