gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > General Purpose IO in Assembly

#41924 - chingyeow - Tue May 03, 2005 5:12 am

I do not really know how to use the general purpose IO... Can anyone provide me a sample of it using assembly? Thanks a lot...

#41927 - Lupin - Tue May 03, 2005 8:52 am

You should ask more specific for what you want to know.

If you know assembly for GBA then you should also know how to use the IO registers in ASM.

The code on the bottom of this page shows a little ASM example, maybe it can help you to get started.
_________________
Team Pokeme
My blog and PM ASM tutorials

#41985 - tepples - Tue May 03, 2005 10:45 pm

"General purpose I/O" means the use of the GBA's serial port as a pseudo 4-bit parallel port in order to support protocols other than 8-bit, 32-bit, multiplayer, joybus, and UART, or in order to support non-standard baud rates.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.