OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking the Tools -- Marrying processing models to data models

Simon St Laurent wrote:
> > I still remember that peek(-16384) was the means of reading keystrokes
> > on an Apple II, but I kept a reference card around for all the rest.

and Al Snell replied:
> Modern programming languages would read:
> #define KEYSTROKE_IOMAP_ADDR -16384
> int getkey() {
> return peek(KEYSTROKE_IOMAP_ADDR);
> }
> for human consumption, but would actually store:
> pushl (-16384)
> for execution :-)

Yeah, but not when compiling for an Apple II.

Hmmm. Talking about indirection and things meant to be read by machines, . .

Joel Rees