Before the basics: Difference between revisions
(Easy6502 needs more publicity) |
(Null edit, mostly skipping redirects, now that the interwiki table uses HTTPS for Wikipedia and several other Wikimedia sites) |
||
Line 10: | Line 10: | ||
*[[wikipedia:Computer|Computer]] (it's not just a PC) | *[[wikipedia:Computer|Computer]] (it's not just a PC) | ||
*[[wikipedia:Bit|Bit]] | *[[wikipedia:Bit|Bit]] | ||
**[[wikipedia:Boolean | **[[wikipedia:Boolean algebra|Boolean logic]] | ||
**[[wikipedia:Logic gate|Logic gate]] | **[[wikipedia:Logic gate|Logic gate]] | ||
**[[wikipedia:Linear feedback shift register|Linear feedback shift register]] | **[[wikipedia:Linear feedback shift register|Linear feedback shift register]] | ||
**[[wikipedia:Ring counter|Ring counter]] | **[[wikipedia:Ring counter|Ring counter]] | ||
*[[wikipedia:Binary | *[[wikipedia:Binary number|Binary number]] | ||
**[[wikipedia:Byte|Byte]] | **[[wikipedia:Byte|Byte]] | ||
**[[wikipedia:Arithmetic logic unit|Arithmetic logic unit]] | **[[wikipedia:Arithmetic logic unit|Arithmetic logic unit]] | ||
Line 37: | Line 36: | ||
**[[wikipedia:Compiler|Compiler]] | **[[wikipedia:Compiler|Compiler]] | ||
**[[wikipedia:Parallel computing|Parallel computing]] | **[[wikipedia:Parallel computing|Parallel computing]] | ||
**[[wikipedia:Thread ( | **[[wikipedia:Thread (computing)|Thread]] | ||
*[[wikipedia:Input/output|Input/output]] (I/O) | *[[wikipedia:Input/output|Input/output]] (I/O) | ||
**[[wikipedia:Memory-mapped I/O|Memory-mapped I/O]] | **[[wikipedia:Memory-mapped I/O|Memory-mapped I/O]] | ||
Line 56: | Line 55: | ||
**[[wikipedia:Vertical blanking interval|Vertical blanking interval]] (vblank) | **[[wikipedia:Vertical blanking interval|Vertical blanking interval]] (vblank) | ||
**[[wikipedia:Text mode|Text mode]] | **[[wikipedia:Text mode|Text mode]] | ||
**[[wikipedia:Text user interface|Text user interface]] | **[[wikipedia:Text-based user interface|Text-based user interface]] | ||
**[[wikipedia:ASCII art|ASCII art]] | **[[wikipedia:ASCII art|ASCII art]] | ||
**[[wikipedia:Scrolling|Scrolling]] | **[[wikipedia:Scrolling|Scrolling]] | ||
**[[wikipedia:Sprite (computer graphics)|Sprite]] | **[[wikipedia:Sprite (computer graphics)|Sprite]] | ||
**[[wikipedia:Display list|Display list]] | |||
*[[wikipedia:Command-line interface|Command-line interface]] | *[[wikipedia:Command-line interface|Command-line interface]] | ||
**[[wikipedia: | **[[wikipedia:Shell (computing)|Shell]] | ||
**[[wikipedia: | **[[wikipedia:cmd.exe|Windows Command Prompt]] | ||
**[[wikipedia:Batch file|Batch file]] | **[[wikipedia:Batch file|Batch file]] | ||
**[[wikipedia:Plug-in (computing)|Plug-in]] | **[[wikipedia:Plug-in (computing)|Plug-in]] | ||
**[[wikipedia:Filename extension|Filename extension]] | **[[wikipedia:Filename extension|Filename extension]] | ||
**[[wikipedia: | **[[wikipedia:Zip (file format)|Zip file]] | ||
**[[wikipedia:Environment variable|Environment variable]] | **[[wikipedia:Environment variable|Environment variable]] | ||
Line 92: | Line 92: | ||
== External links == | == External links == | ||
*[ | *[https://skilldrick.github.io/easy6502/ Easy 6502] |
Revision as of 16:40, 30 April 2016
Background
A digital computer, such as a PC or NES, is filled with millions of tiny switches that can be turned on or off. Some switches store information for short time; these are called memory. Other switches calculate things based on the output of other switches; these are called logic. Each switch can be on or off, representing true or false, or the numbers 1 or 0. Multiple switches grouped together can represent larger values. A CPU reads machine code from a memory and treats it as instructions to perform arithmetic and logic operations on other values in memory or to perform input and output. Some of the input and output involve user interaction: the user gives commands to the computer, and the computer displays the result.
If you're confused, now is the opportunity to become familiar with the following basic concepts from computer engineering and computer science. These articles from Wikipedia are in English, and many have been translated into other languages.
- Computer (it's not just a PC)
- Bit
- Binary number
- Byte
- Arithmetic logic unit
- Binary prefix (KiB, MiB)
- Random-access memory (RAM)
- Read-only memory (ROM)
- Bus
- Integrated circuit (IC)
- Central processing unit (CPU)
- Computer program
- Input/output (I/O)
- Digital signal
- Raster graphics
- Command-line interface
Introducing the NES
The Nintendo Entertainment System has the following components:
- 2A03 CPU IC made by Ricoh
- CPU based on the MOS Technology 6502 8-bit microprocessor
- serial input for game controllers
- audio output comprising four tone generators and a delta modulation playback device
- 2 KiB of RAM for use by the CPU
- 2C02 PPU (picture processing unit)
- tile-based background image
- 64 sprites (individually moving objects)
- 25 colors out of 53
- 256x240 pixel progressive picture generator
- NTSC color encoder
- 2 KiB of RAM for use by the PPU
Cartridges have the following components:
- 16 KiB or more PRG ROM, for use by the CPU
- 8 KiB or more CHR ROM or CHR RAM, for use by the PPU (and in some cases by the CPU)
- (optional) Bank switching hardware for the ROMs
- (optional) Logic to generate interrupts