LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Linux Kernel (https://www.linuxquestions.org/questions/programming-9/linux-kernel-4175611786/)

Fractal Cat 08-11-2017 04:48 PM

Linux Kernel
 
Hi,

Many years ago I used to have an Amiga computer and enjoyed programming in Assembly language. To help programmers Commodore released the ROM Kernel reference manuals that detailed all the methods of the kernel and which registers were involved and their values. Is there anything like that in Linux ? If there isn't then perhaps there should be.

FC.

jefro 08-11-2017 09:38 PM

Not sure what you are asking exactly. All of the kernel source code is available at kernel.org. I assume that this is still true. https://www.linuxquestions.org/quest...sembly-238058/ so you should be able to take this code and convert it

Or programs maybe. https://stackoverflow.com/questions/...-assembly-code

Linux has a wealth of tools available usually. Some are dependent on many other things so older stuff may not easily work with new stuff for example.

I have always wondered why linux doesn't create an assembly version of the kernel. See the guy at MenuetOS for some neat work.

Don't forget NASM. And tutorials like this. http://asmtutor.com/#lesson1

https://www.ibm.com/developerworks/l...asm/index.html

NevemTeve 08-11-2017 11:03 PM

Eg http://syscalls.kernelgrok.com

Jjanel 08-11-2017 11:40 PM

wiki
 
Yup, kernel.org&..! lmgt?fy: wiki linux syscalls->kernelAPI:idea: Prior thread: books.
Do you prefer paper books? Or are online docs and .pdf's OK? (old ok!)
http://www.digilife.be/quickreferenc...0reference.pdf
https://www.cs.columbia.edu/~junfeng...intr-linux.pdf
I always get mine from local public library! (for UnixCLI on my $20 netbook:()
FUN, eh? ;) Link heaven:D

sundialsvcs 08-12-2017 09:47 AM

Yes, unlike the Amiga OS, Linux is open source. You have access, not only to a description of how the various kernels work, but to the actual source-code itself.

pan64 08-12-2017 10:39 AM

yes, I had a book (more than 20 years ago) which explained the C64 "kernel" and "basic" ROMs, but that was 8 kB or something like that.
Now the kernel of a modern linux is measured in MBs, it has modules and knows not only a single hardware, but a huge amount of different devices - and has a lot of features. The code mainly written in C, therefore usually no registers and similar informations available. And yes, it is on the net, you can browse, download and do not need to buy, just need to learn....


All times are GMT -5. The time now is 07:52 AM.