Difference between revisions of "6502"

From SizeCoding
Jump to: navigation, search
(Created page with "== Introduction == Wanting to start sizecoding on a 6502 platform in this day and age can be tough. So here is a bit of help to get you started: === The 6502 processor ===...")
 
m (Childishbeat moved page 6502 based CPUs to 6502: Less verbose)
 
(73 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
 
Wanting to start sizecoding on a 6502 platform in this day and age can be tough.  
 
Wanting to start sizecoding on a 6502 platform in this day and age can be tough.  
 +
 +
[[File:6502.jpg|thumb]]
  
 
So here is a bit of help to get you started:
 
So here is a bit of help to get you started:
  
 
=== The 6502 processor  ===
 
=== The 6502 processor  ===
The 6502 processor can be seen as the 8bit micro ARM chip.  
+
The 6502 processor can be seen as the 8-bit micro ARM chip.  
It has only has 3 registers (Accumilator, IX and IY registers) and only a handful of instructions to work with.
+
It has only has 3 registers (Accumulator, X and Y registers) and a handful of instructions to work with.
  
=== Registers ===
+
=== Adressing modes ===
 
To be added.
 
To be added.
  
Line 14: Line 16:
 
When using the 6502 for sizecoding, you'll mostly be working from zeropage
 
When using the 6502 for sizecoding, you'll mostly be working from zeropage
  
== Atari 8bit family ==
+
=== General 6502 Resources ===
The Atari XE/XL systems consists of the 6502 with custom hardware for graphics and sound.
+
* 6502.org http://www.6502.org/
 
+
* 6502 instruction reference http://www.6502.org/tutorials/6502opcodes.html
=== Setting up ===
+
* 6502 books http://retro.hansotten.nl/6502-sbc/
Setting up your development platform for the Atari 8bit systems is quite easy, first get the following tools:
+
* 6502 Assembler tutorial https://dwheeler.com/6502/oneelkruns/asm1step.html
 
+
* Easy 6502 code tester https://skilldrick.github.io/easy6502/
* Assembler: MADS Assembler - This assembler has nice macros for creating Binaries and SNA snapshot files out of the box. You can download it at https://sourceforge.net/projects/sjasmplus/
+
* Synthetic instructions https://wiki.nesdev.com/w/index.php/Synthetic_instructions#8-bit_rotate
* Emulator(s): I Found Altirra to work best for my usecase. Make sure to use the original Rev2 rom for best compatibility.
 
 
 
=== Video diplay ===
 
Video display on the Atari 8bit systems use the TIA chip, it has the following video modes:
 
 
 
To be added soon.
 
 
 
=== Getting something on screen ===
 
To be added soon.
 
 
 
 
 
=== Sound ===
 
The Atari 8bit systems use the Pokey chip to generate sound.
 
To be added soon.
 
 
 
=== Make some noise ===
 
To be added soon.
 
 
 
 
 
== Atari Lynx ==
 
The Atari Lynx consists of the 6502 with custom hardware for graphics and sound.
 
 
 
=== Setting up ===
 
Setting up your development platform for the Atari Lynx:
 
 
 
* Assembler: -
 
* Emulator(s): -
 
 
 
=== Video diplay ===
 
To be added soon.
 
 
 
=== Getting something on screen ===
 
To be added soon.
 
 
 
 
 
=== Sound ===
 
To be added soon.
 
 
 
=== Make some noise ===
 
To be added soon.
 
 
 
 
 
== Commodore 64 ==
 
The Commodore systems consists of the 6502 with custom hardware for graphics and sound.
 
 
 
=== Setting up ===
 
Setting up your development platform for the Commodore systems is quite easy, first get the following tools:
 
 
 
* Assembler: To be added
 
* Emulator(s): VICE is the way to go
 
 
 
=== Video diplay ===
 
Video display on the Commodore, it has the following video modes:
 
 
 
To be added soon.
 
 
 
=== Getting something on screen ===
 
To be added soon.
 
 
 
 
 
=== Sound ===
 
The Commodore 64 uses the famous SID chip to generate sound.
 
To be added soon.
 
  
=== Make some noise ===
+
== 6502 Based Platforms ==
To be added soon.
+
*'''[[Atari 8Bit]]''' - Atari 8-Bit Family (Atari XL/XE, etc.)
 +
*'''[[Apple II]]''' - Apple II(e)
 +
*'''[[Commodore 64]]''' - Commodore 64
 +
*'''[[BBC Micro]]''' - Acorn BBC Micro/Master/Electron.
 +
*'''[[Atari Lynx]]''' - Atari Lynx Handheld

Latest revision as of 10:41, 8 April 2022

Introduction

Wanting to start sizecoding on a 6502 platform in this day and age can be tough.

6502.jpg

So here is a bit of help to get you started:

The 6502 processor

The 6502 processor can be seen as the 8-bit micro ARM chip. It has only has 3 registers (Accumulator, X and Y registers) and a handful of instructions to work with.

Adressing modes

To be added.

Zero page

When using the 6502 for sizecoding, you'll mostly be working from zeropage

General 6502 Resources

6502 Based Platforms