Skip to content

rachel-multiverse/rachel-atari5200

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rachel Atari 5200 Edition - Platform #007

From 128 bytes to 16KB - Rachel can finally breathe!

The Super System deserves Super Rachel!

Overview

The Atari 5200 implementation of Rachel - a massive upgrade from the 2600's 128 bytes to a luxurious 16KB of RAM! This is Platform #007 in the Rachel Multiverse, featuring ANTIC/GTIA graphics, POKEY sound, and the ability to implement FULL game rules with special cards!

The Evolution

System RAM Graphics Sound Rachel Features
Atari 2600 128 bytes Racing beam Beeper Core rules only
Atari 5200 16KB ANTIC/GTIA POKEY 4-voice Full rules!
Atari 7800 4KB MARIA TIA/POKEY Coming next...

Features

Finally Possible with 16KB:

  • ALL special cards (2s, 7s, Queens, Aces, Black/Red Jacks)
  • Full attack mechanics and card stacking
  • Direction changes and suit nomination
  • Up to 8 players (human or AI)
  • Complete 52-card deck with proper shuffling
  • Joker support for Ultimate mode
  • Card animations using player/missile graphics
  • 4-voice sound effects via POKEY chip
  • High score tracking with battery-backed RAM

Technical Features:

  • ANTIC display list programming
  • GTIA 256-color graphics modes
  • Player/missile graphics for cards
  • Character set redefinition for suit symbols
  • Analog joystick support (5200's unique controllers)
  • Two fire buttons per controller

Building

Requirements

  • MADS assembler (or DASM with modifications)
  • Altirra or Atari800 emulator
  • Real Atari 5200 (for authentic experience)
  • 5200 flash cart (for hardware testing)

Compilation

# Using MADS assembler
mads rachel5200.asm -o:rachel.bin

# Create 32K cartridge image
make cart

# Run in emulator
make run

Running

In Altirra Emulator:

altirra rachel.bin

On Real Atari 5200:

  1. Flash rachel.bin to AtariMax or similar cart
  2. Insert cartridge into Atari 5200
  3. Power on and experience 16KB of glory!

Controls (5200's Unique Analog Controllers)

The Atari 5200 has notoriously mushy non-centering analog joysticks:

  • Analog Stick: Navigate cards (pressure sensitive!)
  • Top Fire Button: Play selected card(s)
  • Bottom Fire Button: Draw a card
  • Start: Begin game
  • Pause: Pause game
  • Reset: Return to menu

Memory Layout (16KB of Luxury!)

$0000-$00FF: Zero page (fast variables)
$0100-$01FF: 6502 stack
$0200-$0FFF: Game code and data (3.5KB)
$1000-$17FF: Player structures (8 players × 256 bytes)
$1800-$1BFF: Full deck storage (1KB)
$1C00-$1FFF: Display list and screen RAM
$2000-$3FFF: Additional RAM (8KB available!)
$4000-$BFFF: Cartridge ROM (32KB max)

Graphics Capabilities

ANTIC Display Modes Used:

  • Mode 2: Text display (40 columns)
  • Mode 4: 4-color character graphics
  • Mode 6: 5-color character graphics
  • Mode 7: High-resolution graphics

Card Rendering:

┌─────────┐
│ A       │  High-res graphics
│    ♠    │  with redefined 
│       A │  character sets
└─────────┘

Sound System (POKEY)

4 independent sound channels for:

  • Channel 1: Card play effects
  • Channel 2: Draw card sounds
  • Channel 3: Special card effects
  • Channel 4: Background music/ambience

Special Card Implementation

Finally, we can implement ALL special rules:

Attack Cards:

  • 2s: Next player draws 2 (stackable!)
  • Black Jacks: Next player draws 5 (stackable!)
  • Red Jacks: Cancel Black Jack attacks

Flow Control:

  • 7s: Skip next player (stackable)
  • Queens: Reverse direction
  • Aces: Nominate suit

Ultimate Mode:

  • Jokers: Wild cards (4 in deck)

AI Implementation

With 16KB, we can have SMART AI:

  • Card counting
  • Strategic special card usage
  • Attack/defense decisions
  • Suit preference tracking
  • Difficulty levels (Easy/Medium/Hard)

Comparison: 2600 vs 5200

Feature Atari 2600 Atari 5200
RAM 128 bytes 16,384 bytes (128× more!)
Players 2 max 8 max
Special Cards None ALL implemented
Card Display 4 patterns Full graphics
Sound Beeper 4-voice POKEY
AI Random play Strategic
Deck Simplified Full 52 cards
Shuffling No Yes
Code Size ~2KB ~32KB

Technical Achievements

  • 128× more RAM than the 2600 version
  • Full rule implementation matching modern versions
  • Display list interrupts for split-screen effects
  • Character set redefinition for card suits
  • POKEY timer interrupts for smooth animations
  • Analog input processing for 5200 controllers

Fun Facts

  • The 5200 was based on Atari 8-bit computer architecture
  • Controllers were analog with 360° movement
  • First console with a pause button
  • Could display 256 colors (vs 2600's 128)
  • Rachel now uses more RAM than early space missions!

Known Issues

  • 5200 controllers are notoriously unreliable
  • Non-centering joysticks make menu navigation tricky
  • Controller fix: Use "Wico Command Control" joysticks

Development Notes

This implementation shows the dramatic difference 16KB makes:

  • From haiku (2600) to epic poem (5200)
  • From core rules to complete implementation
  • From racing the beam to display lists
  • From beeps to orchestrated sound

The Sacred Rules

With 16KB, we can finally implement the COMPLETE Rachel rules from rachel-core, not just the essence!

Status

Platform #007 of ∞ complete. 193 platforms to go...

From impossible constraints to reasonable resources!

License

MIT - Because 16KB deserves Rachel too.


"128 bytes → 16KB = 128× improvement"
"From computational haiku to epic poem"
"The Super System finally gets Super Rachel"

Atari 5200: Where Rachel could finally spread its wings.

About

Rachel Atari 5200 Edition - Platform #007 - From 128 bytes to 16KB, full rules finally possible!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •