Banner
Views: 853,438,319
Time:
9 users online: Bullymario, Infinity, Isikoro, Phyll, Romano338, rubutik, SomeGuy712x, Valkyria, VLSkoot - Guests: 42 - Bots: 63 Users: 47,079 (2,501 active)
Latest: BLFergie
Tip: Do you want to create custom blocks, but have little to no experience with ASM? Use Kipernal's Blockreator!Not logged in.
Frequently Asked Questions
Please contact a staff member if you have any suggestions for the F.A.Q..
SMW Hacking YI Hacking General ROM Hacking SMW Central
Question:What is ASM?
Answer:ASM (Assembler) is the low level programming code used by a CPU. 65c816 ASM is the language used by the SNES.
Question:Where can I learn how to program in 65c816 ASM?
Answer:There are two basic tutorials here. You can find more advanced info here, here, and here. Also available are compiled lessons from SMW Central's ASM Workshop 2019.
Question:What can I use ASM for?
Answer:For Super Mario World hacks, it can enable you to insert new custom sprites, blocks, gimmicks and features (UberASM and patches) to your hack. Interest in adding ASM to Yoshi's Island hacks is also increasing, too, through our Yoshi's Island patches and SPASM sections.
Question:Sometimes I see code like "LDA.l" or "STA.w" or "LDX.b" - what do the extra letters at the end mean?
Answer:These letters are used to specify the size of an instruction to be used by Asar. Many instructions can take different sizes, such as LDA #$000F versus LDA #$0F. Normally, Asar tries to build the shortest logical code for maximum efficiency. Appending .b, .w, or .l will force Asar to load a specific size (2, 4 and 6 digits, respectively). This is commonly used when math is done on assembly in order to guarantee a properly-sized result (Ex. LDA.b #.Table>>16).
Question:What is SA-1?
Answer:The SA-1 chip is a co-processor used in certain special SNES games to grant various performance improvements. In SMW hacking, SA-1 can be enabled with this patch, which reduces or eliminates slowdown and increases the number of sprites allowed on screen at once. Note that resources must specifically be made to be compatible with SA-1; luckily, increasingly many resources available for download come pre-configured to automatically detect and work with an SA-1 enhanced ROM. Look for resources tagged as sa-1 to ensure compatibility.
Question:Most of the blocks, sprites, patches and UberASM I download have |!addr written all over the code - what does that mean?
Answer:|!addr is a standardized define used in SA-1 compatible resources. It is generally used to ensure that code is automatically converted to SA-1 format if an SA-1 ROM is detected, and leaves the code unaltered if not.

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy