GBA arch (was "What does your OS look like? (Screen Shots..)")

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Almamu
Member
Member
Posts: 47
Joined: Wed Jul 07, 2010 9:41 am

GBA arch (was "What does your OS look like? (Screen Shots..)")

Post by Almamu »

dak91 wrote:
Nathan wrote:Here is my simple OS made just for OSDev:
Image
And here is the code:

Code: Select all

.arm
.text
.align 4
.global main
main:
	mov r0, #0x4000000
	mov r1, #0x400 
	add r1, r1, #3
	strh r1, [r0
	
	mov r0, #0x6000000
	ldr r1, =pic
	mov r2, #0x960
loop1:
	ldmia r1!, { r3,r4,r5,r6,r7,r8,r9,r10 } 
	stmia r0!, { r3,r4,r5,r6,r7,r8,r9,r10 } 

	subs r2, r2, #1
	bne loop1  

infin:
	b infin  

.ltorg   
pic:   
	.incbin "pic.bin"
great, an arm project! (I had started to port my os for gba)
Why not use gbalib(c languaje) included with devkitpro?
Image
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: GBA arch (was "What does your OS look like? (Screen Shot

Post by Gigasoft »

Wait, how is this an operating system?

I thought an operating system was "a set of system software programs in a computer that regulate the ways application software programs use the computer hardware and the ways that users control the computer" (http://en.wikipedia.org/wiki/Operating_system).
Why not use gbalib(c languaje) included with devkitpro?
In this case, it wouldn't matter much, but for anything serious, acceptable performance requires assembler. The GBA's CPU runs only at 16.78 MHz.
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: GBA arch (was "What does your OS look like? (Screen Shot

Post by Coty »

Gigasoft wrote:Wait, how is this an operating system?

I thought an operating system was "a set of system software programs in a computer that regulate the ways application software programs use the computer hardware and the ways that users control the computer" (http://en.wikipedia.org/wiki/Operating_system)..
In my opinion as long as it does something with out need of an OS, (just its self) It is an OS, it IS Operating the System is it not?
My hero, is Mel.
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: GBA arch (was "What does your OS look like? (Screen Shot

Post by TylerH »

Wikipedia wrote:An operating system (OS) is a set of system software programs in a computer that regulate the ways application software programs use the computer hardware and the ways that users control the computer.
No, what he wrote was more of a demo. You should know these well, coming from Fasm Board.

I chose a stupid nick for OS Dev's forum. :)
User avatar
Almamu
Member
Member
Posts: 47
Joined: Wed Jul 07, 2010 9:41 am

Re: GBA arch (was "What does your OS look like? (Screen Shot

Post by Almamu »

Oopss, sorry, i pressed New Topic Button..., xD, this was a reply of the Os ScreenShoots... sorry...
Image
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: GBA arch (was "What does your OS look like? (Screen Shot

Post by StephanvanSchaik »

Almamu wrote:Oopss, sorry, i pressed New Topic Button..., xD, this was a reply of the Os ScreenShoots... sorry...
No, some moderator split off this thread from the original thread (and accidentally forgot some replies whilst he was doing that).


Regards,
Stephan J.R. van Schaik.
Post Reply