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 > Windows CE on GBA

#53372 - karlichon - Wed Sep 07, 2005 11:51 pm

hello, I'm french so excuse me for my bad english...

I would like to know if I can compile a Windows CE version for a GBA ?

I know that windows CE works with the ARM's processors, so it could be possible.

In order to put windows ce on a gba, the bsp (or oel) is necessary (the layer that communicate between the hard and win ce)
And of course the drivers for the gba devices...

So are these elements exists ? and first is it possible to compile a win ce for gba ?

thanks

#53374 - poslundc - Thu Sep 08, 2005 12:23 am

I don't know the specs for Windows CE, but there's the following considerations:

1. Windows isn't open-source, so you'd have to reverse engineer the entire OS.

2. The GBA only has 32K of fast RAM, and 256K of very slow external RAM. That's not an awful lot with which to do stuff.

3. The GBA is a 16 MHz machine. Granted I'm a bit out of touch, but when last I checked most modern PocketPCs were at least 200 MHz.

Dan.

#53414 - tepples - Thu Sep 08, 2005 8:00 am

poslundc wrote:
Windows isn't open-source, so you'd have to reverse engineer the entire OS.

Windows CE is "shared source". The business model for the Windows CE OS resembles the SCSL model used for Sun's Java 2 Platform.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#53419 - Master S - Thu Sep 08, 2005 8:13 am

AS far as i know Windows CE needs a MMU, and uses far more memory than avalible (splits in 8MB segments pr process) on the GBA. This might not be the entire truth, but i'm rather sure

#53481 - poslundc - Thu Sep 08, 2005 6:11 pm

tepples wrote:
poslundc wrote:
Windows isn't open-source, so you'd have to reverse engineer the entire OS.

Windows CE is "shared source". The business model for the Windows CE OS resembles the SCSL model used for Sun's Java 2 Platform.


Oh, I stand corrected then.

Dan.

#53495 - karlichon - Thu Sep 08, 2005 7:58 pm

poslundc,

Hello, I think the best way to not pass for a idiot is to know what we say about a subject.

Windows CE is open source for the main part
The main reason is that if you want to put an OS on a device other than a PC, you must recompile all the OS.

#53497 - karlichon - Thu Sep 08, 2005 8:04 pm

I order to share the answer with all people interested (it's english this sentense ?), I'll give my teacher's answer :
- If the processor is a ARM, it's possible to put a windows CE on gba.
BUT you need the oel interface (all the methods to access the clock, the registry and the processor) in a first time and the hardware drivers in second time. The problem is that a device like a gba is realy optimised, for example, the memory is built in the processor... so, it's very difficult to create the assembly files that can discuss betwin the OS and the hardware.

#53498 - poslundc - Thu Sep 08, 2005 8:05 pm

karlichon wrote:
poslundc,

Hello, I think the best way to not pass for a idiot is to know what we say about a subject.


That's some very good advice. Thank you for it. Let me know if you can provide me with any other helpful strategies.

And might I say, bienvenue. You should fit right in around here.

Dan.

#53574 - Master S - Fri Sep 09, 2005 12:06 pm

Quote:
- If the processor is a ARM, it's possible to put a windows CE on gba


Well this is not the entire truth, as I said a post ago... it also requres a MMU...

The smallest ARM processor supportet by now is the ARM720T and that processor offers a build in MMU (read about it inn the last link provided).

http://msdn.microsoft.com/embedded/usewinemb/ce/supproc/default.aspx#ARM
http://www.sharpsma.com/productgroup.php?ProductGroupID=53&SubProductGroupID=1
http://www.arm.com/pdfs/164-1%20ARM%20Microsoft.pdf

#53595 - tepples - Fri Sep 09, 2005 4:53 pm

Doesn't almost every GBA flash card have an MMU of sorts to load different 256 Mbit segments corresponding to different games? If that's not powerful enough, it might be possible to make your own custom GBA flash card with 16 MB of ROM at 0x08000000 and 16 MB of RAM at 0x09000000 with a CPLD that controls several bankswitchable areas.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#53654 - karlichon - Sat Sep 10, 2005 9:10 am

Yes it's true, Windows CE is a real time os and works in protected mode, so it works with virtual memory and needs a MMU, it's a point I missed to talk about when I talked about my teacher's answer.

#53683 - poslundc - Sat Sep 10, 2005 4:56 pm

karlichon wrote:
Yes it's true, Windows CE is a real time os and works in protected mode, so it works with virtual memory and needs a MMU, it's a point I missed to talk about when I talked about my teacher's answer.


That's funny; I think the best way to not pass for a idiot is to know what we say about a subject.

Dan.

#53888 - ahad - Tue Sep 13, 2005 1:34 am

Hmmm...

Dan's posts: 1664. Other dude's: 4.

Shouldn't someone tell this guy not to disrespect members of the board, even if they aren't as helpful/insightful as Dan apparently is?

I'm not trying to start a flame war or anything here, but I really get ticked off when I'm reading development forums and someone relatively new to the board insults one of the actively contributing, respected members. If it was a matter of misinformation being spread, or the guy was just plain wrong, corrections can be made as was done by tepples.

I'm new to the board and to GBA programming, but I don't think anyone, even 12 and 13 year old kids relatively new to the internet, are new to manners or just being plain polite.

I'm not a seasoned member of the board here or a moderator, so I may be in the wrong, but I still think it'd be easier for me to find the information I'm looking for without people making degrading off-topic remarks, especially when the guy was still mostly correct (Points 2 and 3).

Guess that's not the best way to introduce myself to a forum, but it sparked an opinion in me.
_________________
.ahad

#53889 - poslundc - Tue Sep 13, 2005 2:22 am

Don't sweat it; it's cool. I am constantly seeking out ways to improve myself.

Dan.

#54650 - PhoenixSoft - Wed Sep 21, 2005 6:11 am

Firefly has been working on a GP32 port of Windows CE for a while now. The GP32 doesn't have an MMU as far as I know, so that wouldn't be a problem.

http://users.skynet.be/firefly/gp32/project/gp32wince/

#54671 - Master S - Wed Sep 21, 2005 2:52 pm

http://www.gp32x.com/board/lofiversion/index.php/t14980.html