OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 6:12 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Posting GBA Tutorials At The Wiki
PostPosted: Mon Jun 28, 2010 7:18 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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

_________________
About.Me - Blog


Last edited by Nathan on Tue Jun 29, 2010 2:11 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Posting GBA TUtorials At The Wiki
PostPosted: Mon Jun 28, 2010 7:25 pm 
Offline
Member
Member
User avatar

Joined: Tue Jun 02, 2009 4:35 pm
Posts: 737
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
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.


Top
 Profile  
 
 Post subject: Re: Posting GBA TUtorials At The Wiki
PostPosted: Tue Jun 29, 2010 3:40 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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: viewtopic.php?p=178308#p178308

I will post the screenshot of my OS later.

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Posting GBA TUtorials At The Wiki
PostPosted: Tue Jun 29, 2010 7:30 am 
Offline
Member
Member

Joined: Sat Sep 29, 2007 5:43 pm
Posts: 127
Location: Amsterdam, The Netherlands
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: 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.


Top
 Profile  
 
 Post subject: Re: Posting GBA TUtorials At The Wiki
PostPosted: Tue Jun 29, 2010 10:49 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
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 ]


Top
 Profile  
 
 Post subject: Re: Posting GBA TUtorials At The Wiki
PostPosted: Tue Jun 29, 2010 12:48 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 29, 2008 1:07 pm
Posts: 550
Location: Throw a dart at central Texas
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?


Top
 Profile  
 
 Post subject: Re: Posting GBA Tutorials At The Wiki
PostPosted: Tue Jun 29, 2010 3:13 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 06, 2008 1:26 pm
Posts: 81
Location: Roseville, California (USA)
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.

Top
 Profile  
 
 Post subject: Re: Posting GBA Tutorials At The Wiki
PostPosted: Tue Jun 29, 2010 3:43 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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. ;)

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Posting GBA Tutorials At The Wiki
PostPosted: Tue Jun 29, 2010 11:32 pm 
Offline
Member
Member

Joined: Tue Apr 13, 2010 8:00 pm
Posts: 285
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.


Top
 Profile  
 
 Post subject: Re: Posting GBA Tutorials At The Wiki
PostPosted: Tue Jun 29, 2010 11:43 pm 
Offline
Member
Member

Joined: Tue Apr 13, 2010 8:00 pm
Posts: 285
Unix 5, not an OS? Click the picture.
Image


Top
 Profile  
 
 Post subject: Re: Posting GBA Tutorials At The Wiki
PostPosted: Wed Jun 30, 2010 3:42 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
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. ;)

_________________
About.Me - Blog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group