Posting GBA Tutorials At The Wiki

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Posting GBA Tutorials At The Wiki

Post by Nathan »

Hello,
I'm developing a OS for GameBoy Advance, then I want to share some of my knowledge on this wonderful platform with the others. Also show that every GameBoy Advance game is an OS, as you're always directly in contact with the hardware. You will never see a layer that will act like a OS when doing things for GBA, because of this that game development for this platform was a painful process. ;)

Then I want to know if everyone will like if I put some good tutorials about this, from the ground-up. And also, where I should put it on the wiki(because I don't know the right place for something like this). ;)

Best Regards,
Nathan Paulino Campos
Last edited by Nathan on Tue Jun 29, 2010 2:11 pm, edited 1 time in total.
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Posting GBA TUtorials At The Wiki

Post by gravaera »

Hi:

Why not just add the stuff to the wiki, then announce it? You'll need to augment the ARM section a bit, too. Create a category for your chipset and a description of the I/O architecture, memory subsystem, etc, and get going :) . You'll want to provide a description of how the video device works too.

--All the best
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Posting GBA TUtorials At The Wiki

Post by Nathan »

Thanks very much. By the afternoon I will start my work at the wiki. :D

Take a look on my OSDev sample OS that I've posted: http://forum.osdev.org/viewtopic.php?p=178308#p178308

I will post the screenshot of my OS later.
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: Posting GBA TUtorials At The Wiki

Post by StephanvanSchaik »

Nathan wrote:Also show that every GameBoy Advance game is an OS, as you're always directly in contact with the hardware.
Your definition of an operating system is flawed.
Nathan wrote:You will never see a layer that will act like a OS when doing things for GBA, because of this that game development for this platform was a painful process. ;)
I don't see how that can be considered a 'painful process'. The hardware of the GBA is so limited that it should be even easier to programme for the GBA than for MS-DOS.
Nathan wrote:Then I want to know if everyone will like if I put some good tutorials about this, from the ground-up. And also, where I should put it on the wiki(because I don't know the right place for something like this). ;)
I wouldn't mind it, but I'm not the one here to decide if this place is suitable or not either. If anything the ideal place would be the ARM-section as gravaera said.
Nathan wrote:Take a look on my OSDev sample OS that I've posted: http://forum.osdev.org/viewtopic.php?p=178308#p178308
That is as much an operating system as all the Hello World kernel samples spread around over the internet. It is a start to an operating system, but it's not an operating system, to be exact.


Regards,
Stephan J.R. van Schaik.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Posting GBA TUtorials At The Wiki

Post by Combuster »

I don't have troubles with having a GBA barebones - the only thing with a GBA platform is that it doesn't really have the peripherals to become a true OS - it can hardly store anything over sessions. So IMO anything you build for it will essentially wind up being a 10-in-1 game pack, over which you argue that the menu is an "operating system".
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Firestryke31
Member
Member
Posts: 550
Joined: Sat Nov 29, 2008 1:07 pm
Location: Throw a dart at central Texas
Contact:

Re: Posting GBA TUtorials At The Wiki

Post by Firestryke31 »

It is perfectly possible to swap cartridges during runtime a-la floppies, so one could write an 'OS' cartridge that loads itself into IWRAM or EWRAM (or even unused VRAM), monitors for the cartridge removal ISR, then loads data from the new cartridge.
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
User avatar
AaronMiller
Member
Member
Posts: 81
Joined: Thu Mar 06, 2008 1:26 pm
Location: Roseville, California (USA)
Contact:

Re: Posting GBA Tutorials At The Wiki

Post by AaronMiller »

I would actually be interested in this. Another section I would like to see is a set of PS3 OS information and a PS2 OS. Linux has been ported to both, and people with the appropriate systems (and appropriate mods) could take advantage of this, if only for entertainment purposes. :)

I could post documents for the Cell architecture if they're not already up there (will look). I don't know enough about the architectures to write anything more than a brief description though.

@Nathan
I'm curious, are you testing your OS on actual GameBoy Advance hardware, or just an emulator? (I assume you use an emulator for quick tests to ensure that certain features work.)

Cheers,
-Aaron
Last edited by AaronMiller on Tue Jun 29, 2010 4:10 pm, edited 1 time in total.
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Posting GBA Tutorials At The Wiki

Post by Nathan »

AaronMiller wrote:I'm curious, are you testing your OS on actual GameBoy Advance hardware, or just an emulator? (I assume you use an emulator for quick tests to ensure that certain features work.)

Cheers,
-naota
Yeah, I test on both. I use VirtualBoy Advance for some simple tests and my own GameBoy Advance SP to test them on the real hardware. ;)
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: Posting GBA Tutorials At The Wiki

Post by TylerH »

Is it possible to write to the card during runtime? If so, I don't see why it couldn't be an OS. An OS with limited input, but an OS.

If you're going to make a tut, here's some things I'd like to know:
  • How to write pixels to screen.
  • How to get keydowns.
  • How to make a beep.
  • How to read from cartridge.
  • Assuming it's possible, how to write to cartridge.
P.S. Where are you getting you documentation from? I haven't looked for any, but I'd assume Nintendo would be pretty closed to outsiders wanting docs. Much like ARM is with their processors.
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: Posting GBA Tutorials At The Wiki

Post by TylerH »

Unix 5, not an OS? Click the picture.
Image
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Posting GBA Tutorials At The Wiki

Post by Nathan »

TylerAnon wrote:If you're going to make a tut, here's some things I'd like to know:
  • How to write pixels to screen.
  • How to get keydowns.
  • How to make a beep.
  • How to read from cartridge.
  • Assuming it's possible, how to write to cartridge.
P.S. Where are you getting you documentation from? I haven't looked for any, but I'd assume Nintendo would be pretty closed to outsiders wanting docs. Much like ARM is with their processors.
The pixel plotting tutorial will be on the barebones, that will have a image displaying tutorial too. The keydowns, sounds and cartridge will be available soon. ;)

TylerAnon wrote:Unix 5, not an OS? Click the picture.
Image
Yeah, but that is a command-line. My OS is entire in graphical mode. ;)
Post Reply