Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Rom Hacking: |
Acmlm's Board - I2 Archive - Rom Hacking - FF1 re-assemblable disassembly | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Kefka Indefinitely Unbanned Level: 81 Posts: 2182/3392 EXP: 4826208 For next: 166641 Since: 03-15-04 From: Pomona, CALIFORNIA BABY! Since last post: 4 hours Last activity: 4 hours |
| ||
Originally posted by Acmlm *cough*Hintage in bbit's post*cough |
|||
NightHawk Bob-Omb Level: 39 Posts: 133/621 EXP: 374743 For next: 30028 Since: 03-26-04 From: Switzerland Since last post: 432 days Last activity: 339 days |
| ||
Originally posted by DischThat's basically what I was saying... you were a bit clearer about it though. Here's a few addresses that get loaded that way, for anyone that's interested (all in bank 1D): $A011 [these next 3 are the "New Game"/"Continue"/"Response Rate" strings] $A253 $A25C $A265 $A8FB $A977 $A97F $AC9C Those are all the ones I got around to changing in that bank. |
|||
Parasyte Bullet Bill Level: 35 Posts: 19/514 EXP: 267348 For next: 12588 Since: 05-25-04 Since last post: 104 days Last activity: 32 days |
| ||
Originally posted by Disch Labels can be used in this case. X816 syntax supports a few wonderful features just for code like this: LDA <myLabel STA $10 LDA >myLabel STA $11 LDA ($10),Y The use of RAM addresses isn't so important, but they could also be labeled, or otherwise symboled in the source. EDIT: It may require "LDA #<myLabel" instead. I'm not certain, since I have not tried it. But the "get low byte\high byte" features are documented. (edited by Parasyte on 05-28-04 09:13 PM) (edited by Parasyte on 05-28-04 09:17 PM) |
|||
NightHawk Bob-Omb Level: 39 Posts: 135/621 EXP: 374743 For next: 30028 Since: 03-26-04 From: Switzerland Since last post: 432 days Last activity: 339 days |
| ||
Originally posted by ParasyteYes, it requires the #. If you don't have the #, you should get a warning from the assembler (without the #, it should be interpreted as zero-page addressing). |
|||
Acmlm Torosu heh Level: 51 Posts: 640/1173 EXP: 981994 For next: 31944 Since: 03-15-04 From: Somewhere that isn't outside of Sherbrooke, Québec, Canada Since last post: 39 days Last activity: 3 hours |
| ||
Even the old assembler I use (DASM) supports this < and > ... I used it in my NSF code, for example: doend LDA #< STA sq1_posL,X LDA #>silence STA sq1_posH,X JMP read.end ... silence hex 7F 00 C0 dc.w silence (part of the code for the "end of track" command in my NSF, makes the track position pointer jump to an infinite silence loop ) So if the "silence" label is at $95C2, you'll get LDA #$C2 and LDA #$95 ... quite useful ... and yep, omitting the # would make it LDA $C2 and LDA $95, zero page |
|||
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: 831/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Hey, what text editor did you use for labelling anyway? I couldn't help noticing that even the smallest ROMs disassembled produce some very big ASM files, and Notepad sucks at big files. | |||
Parasyte Bullet Bill Level: 35 Posts: 23/514 EXP: 267348 For next: 12588 Since: 05-25-04 Since last post: 104 days Last activity: 32 days |
| ||
I do not know if he uses it, but I suggest TextPad. It's what I use for C, PHP, HTML, assembly, text ... EVERYTHING! (edited by Parasyte on 05-30-04 03:54 AM) |
|||
Ultima4701 Newcomer Level: 5 Posts: 5/7 EXP: 452 For next: 77 Since: 03-15-04 From: Florida Since last post: 492 days Last activity: 339 days |
| ||
ConTEXT is a very good freeware text editor. | |||
Gavin Fuzzy Rhinoceruses don't play games. They fucking charge your ass. Level: 43 Posts: 60/799 EXP: 551711 For next: 13335 Since: 03-15-04 From: IL, USA Since last post: 13 hours Last activity: 13 hours |
| ||
somewhat off-topic: tried both ConTEXT and TextPad.. .they are both excellent, but i happen to find i like TextPad's setup a little better. Besides, i just found a 6502.syn syntax file on some random website, so now i can do all my fun stuff in highlighted goodness | |||
Acmlm Torosu heh Level: 51 Posts: 649/1173 EXP: 981994 For next: 31944 Since: 03-15-04 From: Somewhere that isn't outside of Sherbrooke, Québec, Canada Since last post: 39 days Last activity: 3 hours |
| ||
I'm using EditPlus, and also got syntax highlighting for 6502 (although pretty basic, but I can improve it) Looks like this for me But this one is shareware |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Rom Hacking - FF1 re-assemblable disassembly | | | |