🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #448

Re: Perspective Mapper and Scaler Code...

#448
From: Mike Schwartz
Date: Thu, 06 Aug 1992 10:50
34 lines
2307 bytes
In article <1992Aug5.214216.6503@esds.mdc.com> bonney@esds.mdc.com (Greg Bonney) writes:
> In article <712851855.9378@zooid.guild.org> ron@zooid.guild.org (Secret Mud) writes:
> >From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz)
> >>Here's a programmer who is very professional.  Note that he chose to use
> >>Pascal to do the mundane tasks of opening files, parsing PCX format,
> >>and setting things up.  Then he lets it rip in 100% assembly.  Actually,
> >>there is about 100 lines too many of Pascal for my blood :)
> >>
>
> I also noticed his use of goto's.  This isn't intended as a flame, but my
> college professors would faint dead!
>

Make 'em faint every 5 minutes! :)  How fortunate that goto maps to an instruction
that is available on every CPU (or variant of the instruction): jmp, bra, jr, etc.
To ignore goto is like burying your head in the sand.

> By the way, if the compatibility of various in-line assemblers is a problem,
> why not keep most of the assembly code separate and link it in?  Then you
> could use C for the "mundane" things, and the whole program would be fairly
> portable, at least between Borland and Microsoft platforms.  IMHO, this would
> be even more "professional".  Obviously, there's more than one way to skin a
> cat, so please don't think I'm flaming anybody.

I personally do not like the style of PC compiler in-line assemblers.  I do
like having #asm/#endasm in my 'C' compiler though.  Lets you code functions
in you choice of language and keep your functions organized AS you like.

--
Amiga programmer of: GRn, MailMinder, Budokan, Beyond Dark Castle, Dark Castle
Sega Genesis programmer of: Dick Tracy and Marble Madness.
Mike Schwartz  (ames!zorch!amiga0!mykes or mykes@amiga0.sf-bay.org)
1124 Fremont Ave.
Los Altos, CA 94024
Technical Details
Message-ID: <mykes.0bqk@amiga0.SF-Bay.ORG>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!pacbell.com!tandem!zorch!amiga0!mykes
References: <712851855.9378@zooid.guild.org> <1992Aug5.214216.6503@esds.mdc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!pacbell.com!tandem!zorch!amiga0!mykes
From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz)
Newsgroups: rec.games.programmer
Subject: Re: Perspective Mapper and Scaler Code...
Message-ID: <mykes.0bqk@amiga0.SF-Bay.ORG>
Date: 6 Aug 92 10:50:08 GMT
References: <712851855.9378@zooid.guild.org> <1992Aug5.214216.6503@esds.mdc.com>
Organization: Amiga makes it possible
Lines: 34
X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith