[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming
- Subject: Re: Low-level vs. High-level programming
- From: "Kevin Lawton" <kepla@btinternet.com>
- Date: Tue, 24 Jun 2003 09:48:08 +0000 (UTC)
- Newsgroups: comp.sys.cbm, comp.sys.apple2, rec.games.video.classic, comp.os.cpm
- Organization: Portmanteau Software Limited
- References: <b3qo6h$5ar$1@barad-dur.nas.com> <RFoJa.7756$mS2.5421@fe04.atl2.webusenet.com> <bd6922$157j$1@merope.saaf.se> <NSFJa.2$uK1.0@fe05.atl2.webusenet.com> <bd902c$22qb$1@merope.saaf.se>
- Xref: archiver1.google.com comp.sys.cbm:59264 comp.sys.apple2:31847 rec.games.video.classic:59381 comp.os.cpm:13535
Paul Schlyter <pausch@saaf.se> wrote:
| In article <NSFJa.2$uK1.0@fe05.atl2.webusenet.com>,
| Randy McLaughlin <randy@nospam.com> wrote:
|
|| "Paul Schlyter" <pausch@saaf.se> wrote in message
|| news:bd6922$157j$1@merope.saaf.se...
||| In article <RFoJa.7756$mS2.5421@fe04.atl2.webusenet.com>,
||| Randy McLaughlin <randy@nospam.com> wrote:
|||
|||| I would love to see someone control a port at a non-standard
|||| address in Basic, Fortran, Cobol, C, C++, etc without using
|||| extensions beyond the standard language.
|||
||| The problem with Basic here is that there are hardly any ANSI Basic
||| implementations....
|||
||| Anyway, doing this in C and C++ is quite trivial. Suppose we wanted
||| to read a character off the Apple II keyboard (address $C000) and
||| then tell the keyboard we'd read it by writing to $C010. In ANSI C
||| we would do like this:
|| <snip>
||
|| I never said it was memory mapped.
|
| No, but you posted it in comp.sys.apple2, and the Apple II was memory
| mapped....
|
|| The point is that the poster that specified any computer programming
|| language had to be able to do the same tasks as in asm is not
|| necessarily true.
|
| Well, there are certainly things you can do in asm which cannot be
| done
| in other programming languages....
Such as ?
Kevin.
P.S. Yes, I do program in assembler at times.