![]() |
2012-09-18
, 20:20
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#12
|
![]() |
2012-09-19
, 07:39
|
Posts: 518 |
Thanked: 635 times |
Joined on Feb 2012
|
#13
|
The Following User Says Thank You to teroyk For This Useful Post: | ||
![]() |
2012-09-19
, 07:54
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#14
|
1. Speed - i rather sacrifice compatibility in exchange for speed when coding for the N900 - why i needed to know if the OS makes some restrictions thats good to be aware of.
2. Reverse Engineering - if i get much more experienced, i want to take a look at the PowerVR driver (and some other drivers) to see if theres a reason that VSync dont work as it should on the N900. by comparing the N900 SGX driver to other phones SGX driver with the same chipset (Palm Pre, Motorola Droid, Iphone 3GS, etc) there may be some way to hack the driver to get better a better framebuffer in RAM, and activating VSync ...for that i will need alot of experience and find the Code that handles transfers to the framebuffer - and somehow force vsync, instead of realtime rendering.
also reverse-engineering can be good to optimize the most hogging parts of the kernel and system background tasks.
EDIT: PS. with reverse engineering i will probably need a disassembler to be able to understand the machine code, but i guess such already exists
but i need to get started somewhere and i know its a far way to go if i want to get that good... i remember the author of ZSNES (fastest snes emu for x86) developed it as a asm project (and some c and c++) while learning assembler at the university.
The Following 3 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2012-09-19
, 08:14
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#15
|
The Following User Says Thank You to freemangordon For This Useful Post: | ||
![]() |
2012-09-19
, 08:45
|
|
Posts: 46 |
Thanked: 131 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#16
|
gcc logo_compress.v.1.1.s -o logo_compress.elf
The Following User Says Thank You to raandoom For This Useful Post: | ||
![]() |
2012-09-19
, 09:44
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#17
|
The Following User Says Thank You to wook_sf For This Useful Post: | ||
![]() |
2012-09-19
, 10:33
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#18
|
![]() |
2012-09-19
, 10:44
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#19
|
@wook_sf,
ELF existed before ARM. It's used by most Linux/Unix operating systems, and is architecture-independent, meaning it can be used for x86, ARM, or whatever. Originally it was used for x86.
AFAIK Symbian used an ELF-like (or ELF-derived) format, but not quite ELF.
I'm not aware of any Windows (CE or not) versions using ELF natively. Windows (including CE) uses PE (portable executable).
![]() |
2012-09-19
, 11:17
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#20
|
The Following User Says Thank You to reinob For This Useful Post: | ||
- Just install Binutils in N900
- Open texteditor (I use nano) and write code
- Assemble with as-command
- Link with ld-command
- set execute rights with chmod
- run (remember put ./ before your program name)
But I have question why
mov r7,#4
looks with hexeditor like this:
hex 0407A0E3=bin 0000 0100 0000 0111 1010 0000 1110 0001
but If I look ARM instructions manual, it should look like
1111 0i10 0100 imm4 0imm3 Rd imm8
or
1111 0i00 010s 1111 0imm3 Rd imm8?
And why there is in executable file 74 bytes before first command come? And lot bytes after commands and data?