Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!uwm.edu!linac!att!pacbell.com!tandem!zorch!amiga0!mykes From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz) Newsgroups: comp.sys.amiga.advocacy Subject: Re: 8-bit death Message-ID: Date: 27 May 91 07:39:27 GMT References: <3760.tnews@templar.actrix.gen.nz> <1991May18.105916.28180@sugar.hackercorp.com> <1991May25.121511.24184@sugar.hackercorp.com> Organization: Amiga makes it possible Lines: 36 In article <1991May25.121511.24184@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: >In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: >> Assembler language programmers have been porting to other CPUs for >> years by writing translators that work on the source level. Ends >> up being as little work as porting a 'C' program (even between >> different compilers on the SAME machine). > >I don't know. I generally port C programs by typing "cc". Of course I >write to be portable in the first place. You can write non-portable code >in any language... but why? > >> And it doesn't matter if >> you call BlitBitMap(), because you won't find it on any other platform... > >I don't call BlitBitMap(). I call "DisplayImage" and hide the machine >dependencies in there. Working the other way, I don't call "stat" I >call "is_executable", and then the Amiga version of is_executable can >call "Examine". > >And I'm not the only one. There's a huge library of good, portable code >out there on the net so it must be possible. >-- >Peter da Silva. `-_-' >. Aren't you the same Peter da Silva who posted an article to comp.sys.amiga.programmer griping about how difficult it is to port between Manx and Lattice/SAS? :) Anyhow, even in your DisplayImage routine, you will call BlitBitMap() or whatever, and it will still need to be rewritten. -- **************************************************** * I want games that look like Shadow of the Beast * * but play like Leisure Suit Larry. * ****************************************************