delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/27/06:47:08

From: "Thomas Harte" <T DOT Harte AT btinternet DOT com DOT KILL_PART>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Porting c/c++ to gaming consoles...
Date: Sun, 27 Aug 2000 11:31:50 +0100
Organization: BT Internet
Lines: 13
Message-ID: <8oaqpp$npv$1@uranium.btinternet.com>
References: <20000826002318 DOT 24832 DOT qmail AT web512 DOT mail DOT yahoo DOT com> <bhvfqso7rf4kte63epr352ili9evk89t0j AT 4ax DOT com>
NNTP-Posting-Host: host62-7-61-197.btinternet.com
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>C would never work on NES, which only has 2 KB of RAM and an 8-bit
>6502 processor.  NES is normally programmed in assembly language:
>  http://pineight.8m.com/nes.htm


But the ROM segments can be paged into processor address space, so used for
programs (although the 6502 still only has a 16bit address space), and there
was, a long time ago - like 1985, a 'small C' compiler going around which
was a cut down version of K&R for 6502s.

-Thomas


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019