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 - GBA doubts | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

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

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 11-21-04 06:57 PM Link | Quote
What I have
-- A .O file, it's a library.
-- A .H file with various Extern Void functions.
-- DevKitARM
-- The desire to use these together

What I don't have
-- A brain. Miko Miko Nurse melted it down.
-- Any source code relating to using the library at all.
-- Sense of touch in my fingers.

What I ask
-- How do I use this shit? I'd guess it's a linker thing...
neotransotaku

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

Posts: 1736/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 11-21-04 09:59 PM Link | Quote
have you checked your www.gbadev.org, hey have good tutorials in getting you started to write your first GBA game.
Dish

Spiny
Level: 38

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

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 11-21-04 10:36 PM Link | Quote
I don't know the specifics as they relate to GBA dev... but..

.o files are object files. You can sort of think of them as assembled, binary versions of your source (.asm) files. If you want to create a completed executable, you'll need to tie all the object files together (which as you thought, is done by the linker).

Whatever assembler you're using should come with both an assembler and a linker.
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

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

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 11-22-04 09:53 PM Link | Quote
Thanks. I thought that'd be it.
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: 2143/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 11-24-04 09:10 AM Link | Quote
Well, since we already have a GBA thread here...

I've recently been doing some experimentation with running programs from memory by patching in-game functions. I was able to do this on GBC with Pok


(edited by HyperHacker on 11-24-04 05:33 PM)
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

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

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 11-25-04 06:58 PM Link | Quote
Pokemon Ruby
PrintText: $0800a0bc
where R0 = pointer to text, R1 and R2 are byte coords.

DrawWindow: $08071f08
where R0-R4 are left, top, right and bottom coords.

M4A_PlaySong: $081ddef8
where R0 is the song number.

labmaster

Blue Octorok
Level: 12

Posts: 4/43
EXP: 6135
For next: 1786

Since: 07-17-04
From: New Zealand!

Since last post: 10 days
Last activity: 2 min.
Posted on 11-30-04 09:05 AM Link | Quote
Finding joypad read routines should be a doozey - the simplest way would be to use ARCrypt or GBATool to generate a master code using the Pad method - take the hook address and there you go.
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: 2203/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 11-30-04 11:12 PM Link | Quote
Yeah, that shouldn't be a problem. For a hook though, I was hoping somewhere further in. The AR/GS hook right at the beginning of the ROM (or close to it), because they have to be able to get their code in before any protection routines. In this case, however, I'd like my code to be as small as possible, which means it would be best to hook at a point where the game is running and preferrably displaying something, because by then the hardware is all initialized and I don't have to do it myself. (For example, in G/S I hook the intro code, so it appears after the first 2 screens. Then there's absolutely no intializing to do, except for sound (even though it refuses to work), for which I just kill the sound init routines. Plus I can skip the intro and actually play the game, hehe.)
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

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

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 12-01-04 10:26 PM Link | Quote
Speaking of "skipping the intro"...

Obsidian's startup sequence:
* Black credits screen, edited to read "Made with EliteMap"
* Nifty LotR-style Helmeted Rodent logo with stupid subcaption, waits for button
* Title screen
* Main Menu

I rule.
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: 2236/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 12-03-04 12:44 AM Link | Quote
Nice. Emerald's (which I'll have to rename now, thanks a lot Nintendo) has the entire water/battle sequence replaced. Currently just text, I intend to make something cooler later.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - GBA doubts | |


ABII


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



Page rendered in 0.007 seconds.