Page 1 of 1

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

Posted: Sat Jul 10, 2010 4:48 am
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?

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

Posted: Sun Jul 11, 2010 7:28 am
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.

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

Posted: Sun Jul 11, 2010 9:28 am
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?

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

Posted: Sun Jul 11, 2010 10:58 am
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. :)

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

Posted: Tue Jul 13, 2010 3:55 am
by Almamu
Oopss, sorry, i pressed New Topic Button..., xD, this was a reply of the Os ScreenShoots... sorry...

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

Posted: Tue Jul 13, 2010 10:17 am
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.