Go to advanced search

by DexOS
Sun Jun 10, 2012 3:00 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

I to, am sorry to hear about your friend, as nick.mccloud said, life can be a bi*tch.
by nick.mccloud
Sat Jun 09, 2012 7:31 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... hear about your friend Simon. Life can be a bi*tch. I'm keen to learn bare metal (I do it on PIC because I'm a masochist), mostly I code high level but I don't have the ...
by tufty
Sat Jun 09, 2012 6:27 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

I'm largely in agreement with Dex here. Coding to a moving target is extremely hard, and I would add that the current changes seem to be being added *solely* to help with the way Linux does things. Not to mention that it pulls the carpet out from everything we've been told thus far (i.e. "the kernel...
by DexOS
Sat Jun 09, 2012 5:46 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... to find that they have just added it anyway. Also those of us who want bare metal, what bare metal, its getting like coding on top of another OS, that your not in full ...
by rurwin
Sat Jun 09, 2012 4:51 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... are limiting distribution. That devicetree structure looks useful. Bare metal code could use that to find where the various devices live, even if you did not make ...
by nick.mccloud
Sat Jun 09, 2012 4:49 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... & making them available for a good cause like a tutorial on writing bare metal code.
by cheery
Sat Jun 09, 2012 4:45 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

The problem is that you would not be allowed to redistribute them, i am sure they are copy righted ?. https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom Copyright (c) 2006, Broadcom Corporation. All rights reserved. Redistribution. Redistribution and use in binary form, witho...
by DexOS
Sat Jun 09, 2012 4:31 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

I have written a tut (not released yet) on bare metal coding and a lot now needs to be rewritten. I think the answer is just say no All the changes ...
by cheery
Sat Jun 09, 2012 4:12 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... alone when it's good enough. I have written a tut (not released yet) on bare metal coding and a lot now needs to be rewritten. I think the answer is just say no All the ...
by DexOS
Sat Jun 09, 2012 4:11 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... should work on all of them. I have written a tut (not released yet) on bare metal coding and a lot now needs to be rewritten, as new stuff is coming to light.
by tufty
Sat Jun 09, 2012 6:06 am
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

Oh, what a /TOTAL/ pain in the arse.

Good spot, Dave.
by dwelch67
Sat Jun 09, 2012 2:01 am
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

The kernel.img is just a flat binary which gets loaded into address space starting from 0x00000000. The first 0x20 bytes in that binary is an interrupt vector table. A trivial do-nothing program might look something like: .code 32 .org 0 ldr pc, =reset nop ; undefined instruction nop ; software int...
by dwelch67
Sat Jun 09, 2012 1:47 am
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

The kernel.img is just a flat binary which gets loaded into address space starting from 0x00000000. The first 0x20 bytes in that binary is an interrupt vector table. A trivial do-nothing program might look something like: .code 32 .org 0 ldr pc, =reset nop ; undefined instruction nop ; software int...
by dwelch67
Sat Jun 09, 2012 1:22 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

... and feel your pain, i would go as far as to say if you want to learn bare metal coding chose another Arm, i have worked on a lot of different processors and this one ...
by DexOS
Fri Jun 08, 2012 9:53 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

... and feel your pain, i would go as far as to say if you want to learn bare metal coding chose another Arm, i have worked on a lot of different processors and this one ...
by tufty
Fri Jun 08, 2012 7:35 am
Forum: Other projects
Topic: Game Console OS
Replies: 38
Views: 8322

Re: Game Console OS

... benchmarks of the early compiler for Armpit Scheme (which generates bare metal code) placed the results more or less on a par with an interpreted, bytecode VM scheme ...
by tufty
Fri Jun 08, 2012 7:16 am
Forum: General programming discussion
Topic: Playing with the Bare Metal
Replies: 9
Views: 4011

Re: Playing with the Bare Metal

I'm sorry for asking; what is a toolchain? A set of tools for cross-compiling software to run on the Pi. Basically, this enables you to compile code for the Pi on your desktop machine. Typically, this is GNU Libtools (assembler, linker and assorted utilities) + GCC (C and assorted compilers) all co...
by Batzarro
Thu Jun 07, 2012 10:43 pm
Forum: General programming discussion
Topic: Playing with the Bare Metal
Replies: 9
Views: 4011

Re: Playing with the Bare Metal

I'm sorry for asking; what is a toolchain?
by DexOS
Thu Jun 07, 2012 9:20 pm
Forum: Other projects
Topic: Game Console OS
Replies: 38
Views: 8322

Re: Game Console OS

... Theres vers for windows, linux, dexos, dos and working on R-PI for both bare metal and linux. Heres a screenshot on linux: http://www.dex-os.com/Shots/FBasic_L.jpg Heres ...
by DexOS
Thu Jun 07, 2012 7:08 pm
Forum: General programming discussion
Topic: Got bare bones graphics working
Replies: 58
Views: 37451

Re: Got bare bones graphics working

... post a video, as it boots in less than a second 8). Note: This is all bare metal, no OS, FBasic is a basic like language, that uses fasm macros to hide the asm code and ...
by dwelch67
Wed Jun 06, 2012 5:58 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

What I meant to say is, this was bare metal, something along the lines of test: subs r0,r0,#1 bne test and change the number of subs (to get ...
by tufty
Mon Jun 04, 2012 8:07 pm
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 9985

Re: Open/Closed or Somewhere-in-between source?

... write is, as I'm sure you're aware, less bugs introduced. There is no bare metal R-PI OS, RiscOS is not in anyway a bare metal OS. I know. However, for someone that wants ...
by itimpi
Mon Jun 04, 2012 6:44 pm
Forum: Advanced users
Topic: Simplifying booting between distros.
Replies: 9
Views: 3047

Re: Simplifying booting between distros.

... and cmdline.txt) are likely to vary. A number of people are working on 'bare metal programmimg' of the Pi. I would think that this type of work might lead to something ...
by DexOS
Mon Jun 04, 2012 6:29 pm
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 9985

Re: Open/Closed or Somewhere-in-between source?

So, DexOS says We want people to want the real time bare metal OS, that boots in a second, that lets you have full hardware access and can be programmed in ...
by rurwin
Mon Jun 04, 2012 4:33 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

I would imagine the best source of information on the blob would be the device drivers on the Debian kernel for the RaspPi on github.

Go to advanced search