Atari code brought to life as art

Ramma2

Platinum Member
Jul 29, 2002
2,710
1
0
Found this posted on Kotaku this morning. Site has taken the code and graphics for a few Atari games and turned them into visual representations.

http://benfry.com/distellamap/

I've got Pitfall on my cube wall now. Look out Harry!
 

DivideBYZero

Lifer
May 18, 2001
24,117
2
0
Erm, so she took a dump of the ROM, printed it out wiht the GFX in between then scribbled sh1t all over it. Yeah...art.

EDIT: OK, I see the lines are showing code jumps, but still, it's 100% meh.
 

JEDI

Lifer
Sep 25, 2001
29,391
2,738
126
Originally posted by: Schadenfroh
What programming language is that? Looks sorta like assembler..........

so how many people here can follow the code?

<----------- i sortof can :(
 

pontifex

Lifer
Dec 5, 2000
43,804
46
91
Originally posted by: tfinch2
404 art not found

it looks somewhat interesting from the thumbnail but when you see actual size, i agree, it looks like crap
 

Schadenfroh

Elite Member
Mar 8, 2003
38,416
4
0
Originally posted by: DivideBYZero
Originally posted by: Schadenfroh
What programming language is that? Looks sorta like assembler..........

I'd say that was a very good guess.

Were most console games written in Assembly at that time?
 

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
Originally posted by: Schadenfroh
What programming language is that? Looks sorta like assembler..........

It's the instruction set for the 6052 or whatever processor they used.
 

ebaycj

Diamond Member
Mar 9, 2002
5,418
0
0
Originally posted by: DivideBYZero
Originally posted by: Schadenfroh
What programming language is that? Looks sorta like assembler..........

I'd say that was a very good guess.


MOST atari games were pretty much coded in straight assembler, due to space constraints.

EDIT: And also due to the fact that the games were so small code wise, programming entire games in assembler was actually do-able from a "being able to understand WTF is going on" perspective.
 

exdeath

Lifer
Jan 29, 2004
13,679
10
81
Originally posted by: tfinch2
Originally posted by: Schadenfroh
What programming language is that? Looks sorta like assembler..........

It's the instruction set for the 6052 or whatever processor they used.

Atari and NES were both 6502. 8 bit registers, 8 bit data bus, and 16 bit address bus for 64k total memory space to be divided between hardware interface mapping, RAM, and cartridge ROM.

The 6502 CPU has a grand total of 52 instructions.

I've worked on both 6502 and 65816 (pin and code compatible 16 bit upgrade to the 6502 used in the Apple IIgs and the Super Nintendo) so I can follow it pretty well =D.

Main thing with assembler though isn't about following the program, thats easy. The hard part is knowing the hardware memory/IO map and communication protocols for each specific machine inside out so you know what the code is actually doing. On game consoles, alot of the code is interacting with the hardware ASICs to do things automatically in hardware rather than performing the task in code in software on the CPU manually. DMA, graphics chips, etc. For example seeing the code:

lda #$07
sta $2105

means nothing specific other than storing the value 7 at memory address 2105h. However if you know the hardware, this is quite special if you happen to know that $002105 is the address of the graphics chip's screen mode select register on the SNES rather than an arbitrary RAM location... this particular mode happens to be the only planar bitmapped mode on the SNES that stores data in pixels like a PC rather than a character or tile map. It was the only mode if I recall that was tied to the hardware bitplane scaling and rotation functions... and as you can see the numerical designation is 7, hence this mode became known as the famous "mode 7" on the SNES... =D