#7296 - Arek the Absolute - Sat Jun 14, 2003 3:39 am
I've been reading all the stuff I can find on the gba's serial communication registers and all that... And I think I'm actually getting the hang of how they work in general. I still have one problem though... I can only see how programs could work if every gba had its own cartridge. My problem in short is that I'd like to know more about how to have one gba controlled by a cartridge in another, like some of the modes in Mario Kart or a few other games.
In more detail, the way it seems to me is that when you send data over a link cable to another GBA, it ends up in one of the REG_SCDx registers corresponding to the ID of the GBA that sent the data. (to use the names in the Cowbite Spec, that is) Now, if that's strictly the case, I can't see how I can send data to, for example, draw a sprite on the screen of the other GBA. It seems to me that if the data just ends up in the REG_SCD register, there's no way I can control what's done with it once it's been sent. Using two cartridges you can easily just have the second cartridge run a program that can handle the data it recieves, but I'm at a bit of a roadblock on how to operate with only one cartridge. Unfortunately, it seems that this is also a very poorly documented subject. Does anyone have any ideas as to what needs to be done?
Much appreciation and much thanks in advance!
_________________
-Arek the Absolute
In more detail, the way it seems to me is that when you send data over a link cable to another GBA, it ends up in one of the REG_SCDx registers corresponding to the ID of the GBA that sent the data. (to use the names in the Cowbite Spec, that is) Now, if that's strictly the case, I can't see how I can send data to, for example, draw a sprite on the screen of the other GBA. It seems to me that if the data just ends up in the REG_SCD register, there's no way I can control what's done with it once it's been sent. Using two cartridges you can easily just have the second cartridge run a program that can handle the data it recieves, but I'm at a bit of a roadblock on how to operate with only one cartridge. Unfortunately, it seems that this is also a very poorly documented subject. Does anyone have any ideas as to what needs to be done?
Much appreciation and much thanks in advance!
_________________
-Arek the Absolute