Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - ASM..? | |
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Electric_Yellow

Micro-Goomba
Level: 6

Posts: 4/11
EXP: 749
For next: 158

Since: 09-06-04

Since last post: 421 days
Last activity: 339 days
Posted on 09-06-04 09:09 AM Link | Quote
What exactly is ASM...?

I heard it's used to program roms and to make old classic video games....?

What is it....I want to start learning it,
Dish

Spiny
Level: 38

Posts: 125/596
EXP: 355646
For next: 14801

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 09-06-04 09:52 AM Link | Quote
ASM is short for assembly, which is the lowest level programming language of a platform. The type of assembly varies from platform to platform. For instance:

NES uses 6502
SNES uses 65816 (I think?)
Gameboy uses Z80

Some are more complex than others. Some are more powerful... and even though the concept for all of them are pretty much the same... they are all still unique in their own ways.

Knowing the language is only half of what you need, though. You also need to know how to communicate with the platform you're targetting (getting input from the user, outputting graphics and sound).

Which specific platform are you interested in? If you have a specifc goal (like say, making an NES game), it'd be easier to give you info.
Electric_Yellow

Micro-Goomba
Level: 6

Posts: 8/11
EXP: 749
For next: 158

Since: 09-06-04

Since last post: 421 days
Last activity: 339 days
Posted on 09-06-04 10:16 AM Link | Quote
What about old games like King's Quest 6 or Comander Keen.
I'm also interested in learning snes asm.
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 1326/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 09-06-04 11:47 AM Link | Quote
What system were those games on? or were those computer games, if they were computer games, then a programming language is what you need. If they were on a console, then you need to learn the instruction set of the console.

Not sure where you can find documents start but gameboy, gameboy advance programming has a lot of docs to get you started though.
Electric_Yellow

Micro-Goomba
Level: 6

Posts: 9/11
EXP: 749
For next: 158

Since: 09-06-04

Since last post: 421 days
Last activity: 339 days
Posted on 09-06-04 12:11 PM Link | Quote
Yes they were computer games. Are like old SVGA and VGA games written is ASM?

Is ASM a difficult programing language to start with?

I want to first learn the basics of ASM so I could later learn NES ASM then SNES ASM. Where should I start?
Could someone send me a link to a good ASM tutorial for n00bs?
I really need this. Thanks!


(edited by Electric_Yellow on 09-06-04 03:34 AM)
(edited by Electric_Yellow on 09-06-04 03:49 AM)
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 369/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 09-06-04 08:37 PM Link | Quote
you can learn nes asm, gba asm, x86 msdos asm, and n64 asm here: http://k2pts.home.comcast.net/gbaguy/index.htm


(edited by Dcahrakos on 09-06-04 11:39 AM)
(edited by Dcahrakos on 09-06-04 11:39 AM)
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 862/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 09-07-04 12:18 AM Link | Quote
Originally posted by Electric_Yellow
Yes they were computer games. Are like old SVGA and VGA games written is ASM?

Is ASM a difficult programing language to start with?

I want to first learn the basics of ASM so I could later learn NES ASM then SNES ASM. Where should I start?
Could someone send me a link to a good ASM tutorial for n00bs?
I really need this. Thanks!

Well, ASM is fairly complex and mathematical as it is very raw. You'll probably scratch your head a lot learning it, but if you're motivated, go for it! It would be wise to start off with the 6502 and z80 microprocessors since there are tons of docs out there for learning those. Here's a convo with Disch that might be a good way to start off with the 6502.
Electric_Yellow

Micro-Goomba
Level: 6

Posts: 10/11
EXP: 749
For next: 158

Since: 09-06-04

Since last post: 421 days
Last activity: 339 days
Posted on 09-07-04 12:30 AM Link | Quote
Where can I get a good doc for the 6502 nes?
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1525/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 09-07-04 01:37 AM Link | Quote
Originally posted by Disch
SNES uses 65816 (I think?)

Yep.

Gameboy uses Z80

Modified Z80.

ASM is difficult for a first language, but some are easier than others. 6502 isn't too hard but it's pretty limited. Z80/Gameboy is all-around w00t. x86 (PC) is a nightmare.
Electric_Yellow

Micro-Goomba
Level: 6

Posts: 11/11
EXP: 749
For next: 158

Since: 09-06-04

Since last post: 421 days
Last activity: 339 days
Posted on 09-07-04 03:26 AM Link | Quote
OK then I'l probably try 6502 nes, Does anyone know a good tutorial?
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 866/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 09-07-04 05:33 AM Link | Quote
Originally posted by HyperHacker

6502 isn't too hard but it's pretty limited. Z80/Gameboy is all-around w00t.

I concur fully. If you know z80 assembly you've got a variety of consoles to choose from, among the Gameboy and GBC.

Originally posted by Electric_Yellow
OK then I'l probably try 6502 nes, Does anyone know a good tutorial?

Start off with the z80. Its slightly more common, and erm, cooler. By learning this you'll know how to work with a handful of systems with the knowledge of 1 type of asm and its minorly tweaked variants. This is quite a comprehensive document discussing the z80 microproccessor, specifically dealing with the TI-83 calculator set. Other platforms using the z80 will have almost identical ASM.
Gavin

Fuzzy
Rhinoceruses don't play games. They fucking charge your ass.
Level: 43

Posts: 166/799
EXP: 551711
For next: 13335

Since: 03-15-04
From: IL, USA

Since last post: 13 hours
Last activity: 13 hours
Posted on 09-07-04 06:25 AM Link | Quote
*Gavin looks in wonder at the all-powerful non-three-character instructions* :o
elixirnova

Red Paratroopa
Level: 22

Posts: 41/177
EXP: 56507
For next: 1843

Since: 04-05-04
From: Midgar

Since last post: 1 day
Last activity: 1 day
Posted on 09-09-04 07:59 AM Link | Quote
the few words of wisdom...: lissten UP!... note the 2 s's;;; anyhow doesnt sega genesis use the z80?


(edited by elixirnova on 09-08-04 10:59 PM)
Icy Guy

Red Goomba
Level: 11

Posts: 30/36
EXP: 5112
For next: 873

Since: 04-21-04
From: The Matrix...er, CA, U.S.A.

Since last post: 247 days
Last activity: 246 days
Posted on 09-09-04 08:38 AM Link | Quote
I believe the Genesis' sound processor is a Z80, but I think the main CPU is a Motorola 68000.

And before anyone asks, here's a guide.
elixirnova

Red Paratroopa
Level: 22

Posts: 42/177
EXP: 56507
For next: 1843

Since: 04-05-04
From: Midgar

Since last post: 1 day
Last activity: 1 day
Posted on 09-09-04 08:43 AM Link | Quote
ah your right i remember now what other systems used the z80 then??
Dylan
Devil Trumpets and Angel Trombones ~
Level: 54

Posts: 881/1407
EXP: 1181697
For next: 52173

Since: 06-19-04
From: Ottawa, Canada.

Since last post: 1 day
Last activity: 6 hours
Posted on 09-10-04 02:46 AM Link | Quote
Originally posted by elixirnova
ah your right i remember now what other systems used the z80 then??

Gamboy, Gameboy Color, Neo-Geo Pocket Color, Sega Gamegear (I think) and a bunch of others. Some other Sega systems have a z80 co-processor that helps it generate graphical effects and sound-related tidbits. I think they include the Master System, Genesis, 32x... yeah.
Parasyte

Bullet Bill
Level: 35

Posts: 149/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 09-10-04 03:33 AM Link | Quote
Master System and GameGear are the same hardware, with exception of the screen. Both use a Zilog Z80 for the main CPU.

For 6502 tutorials, check out the DESnet documents page: http://desnet.fobby.net/index.php?page=documents
Keep in mind that these are actual tutorials. Not just a bunch of silly information slapped together with the generic term "tutorial" used in the title. Because they are tutorials, the main purpose is not to teach you assembly, but rather to teach you some ways to hack assembly.
The first tutorial in the series goes through a very limited amount of the basics of assembly, and directs you to the assembly documents on ZD and obelisk. That should be PLENTY to get you started on your way to ROM hacking freedom.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 1544/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 09-11-04 11:02 PM Link | Quote
Originally posted by GB-K
Originally posted by elixirnova
ah your right i remember now what other systems used the z80 then??

Gamboy, Gameboy Color, Neo-Geo Pocket Color, Sega Gamegear (I think) and a bunch of others. Some other Sega systems have a z80 co-processor that helps it generate graphical effects and sound-related tidbits. I think they include the Master System, Genesis, 32x... yeah.

Ti-83 calculators and various old computers (such as TRS-80) also use them.
I feel I should emphasize that Gameboy does not use a real Z80, but rather a custom version of it. Some instructions have been removed, some have been added, and one (RETI) has been remapped.
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 678/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 09-12-04 03:02 PM Link | Quote
Originally posted by Electric_Yellow

What about old games like King's Quest 6 or Comander Keen.
And now my two cents.

King's Quest VI (roman numerals for KQ dammit!) and all others like it were made in SCI, a complete virtual machine by itself, in a way with it's own bytecode language.

Commander Keen, being an iD game was without a doubt written in C. I'd love to get my hands on it.
bbitmaster

Koopa
Level: 18

Posts: 24/103
EXP: 25264
For next: 4633

Since: 03-28-04
From: Knoxville, tTN

Since last post: 12 days
Last activity: 7 days
Posted on 09-20-04 04:38 PM Link | Quote
Originally posted by Kawa-oneechan

Commander Keen, being an iD game was without a doubt written in C. I'd love to get my hands on it.

Actually, the majority of it was probably written in C, but from reading about iD software and looking at some of their other source code, I have no doubt it was full of ASM optimizations. Probably a huge chunk of it was written in asm for speed.
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - ASM..? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.012 seconds.