flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > french (f)asm book v2

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 03 Aug 2022, 12:34
hello all,

the editor contacted me about the V2 of the french assembly langage book i've made in 2011.

i'd like to discuss here about what is really worth to write a new version in french.
and what can justify a new book in french where everybody in the world of programming uses the english langage.

maybe i can improve the adaptation and translation of manuals and instruction sets.

a guide for debug using asm symbols...

a multilangage book also, in italian, german, spanish, ....

let me know what you think about it...
Post 03 Aug 2022, 12:34
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20423
Location: In your JS exploiting you and your system
revolution 04 Aug 2022, 08:38
I personally like to see more stuff in other languages. Broaden the appeal.

But I don't read French, so perhaps I am not really qualified to opine on it.
Post 04 Aug 2022, 08:38
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 11 Sep 2022, 20:28
for the moment, my idea is to write about boot, os theory, application, librairies and give practical examples and exercises.
also, i'd like a reference about structures, libs, instruction sets, calling conventions and interface with hll.

the current project is like that:


ASMx86(++)
Code:
Basics (10 pages)
    1. Electronic
    2. Logic
    3. Memory
    4. Processor principle 
Machine (20 pages)
    1. CPU
    2. CPU modes 
    3. x86 registers
    4. Extensions
    5. Memory
    6. Ports

Hardware (20 pages)
    1. Keyboard 
    2. VGA controler
    3. Mouse
    4. PIT
    5. RTC
    6. PIC
    7. HD controler
    8. Communication ports
    9. GPU
    10. Other ressources

Instruction sets (100++ pages)
    1. History 
    2. 16 bits base
    3. X87
    4. General instructions
    5. 32 bits
    6. SIMD 
    7. 64 bits and more.

Programer interface (150 pages)
    1. Assembly language
    2. HLL
    3. Abstraction and librairies

BOOT→ OS (100 pages)
    1. Bootloader
    2. Memory management
    3. Peripheral management
    4. Process management
    5. Interface with the machine
    6. Security

OS → Application (50 pages)

    1. Files
    2. Developpement
    3. Interface with OS
    4. Installation and updates
    5. Flaws, virus, trojans, etc.
    6. Executables

    


the number of pages is just an estimation...

of course, the content of this sumary is subject to evolve.

i'd like to reference the interrupts, the uefi ,and so on.

this job will force me to read, code and try a lot of stuff but i think it would be very cool.
and if i make a sort of free version in paralel, like a very personnal content, with my own style, i'll have fun to do it.

then feel free to submit ehancements of the summary cause i'm sure i miss a lot of awsome things, and talks about useless stuff.
Post 11 Sep 2022, 20:28
View user's profile Send private message Visit poster's website Reply with quote
FlierMateI



Joined: 12 Sep 2022
Posts: 6
FlierMateI 12 Sep 2022, 06:21
You must be very knowledgeable to cover all the topics in your book.
Post 12 Sep 2022, 06:21
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 12 Sep 2022, 09:35
From my experience, just describing basic booting and memory management plus a little bit of further possible architectural decisions for an MS-DOS-like OS is around 120 pages, if you’re willing to explain anything with examples, not just copy-and-paste general information from other sources. And all that is for students who already have experience writing programs in FASM, so I had no need to describe x86 instruction set, FASM-specific stuff, etc.
Post 12 Sep 2022, 09:35
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 17 Sep 2022, 21:30
yes, i'll try to make it convenient and maybe i will get my os functionnal in paralell to this book, in order to apply and try the knowledge i'll have to get to write it
Post 17 Sep 2022, 21:30
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 23 Sep 2022, 07:28
Kolibri os, imho, a good example set|base
I wish you creative inspiration, health and good mood
Post 23 Sep 2022, 07:28
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 15 Oct 2022, 02:37
the book is poorly paid. i'm between the willing to write it, overcome my limits and create something new....
and the fact it will just be like writing assembly for food...


what to do is my business, but not so... i want to make it good but the editor just want one more book to sell and earn money... lot of money...

then, i still ask myself why should i loose my time to give them money.$
they don't need this money, and what they got with previous book was ridiculous. my part was like just a coffee...

i dislike this mind and prefer do things for free than do things for the glory, and the fortune of a businessman.
Post 15 Oct 2022, 02:37
View user's profile Send private message Visit poster's website Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 17 Oct 2022, 09:03
Getting paid for writing books is only the way to go if you are ready to write lies for bad guys and feel they’re going to give your a Nobel prize for that. In all other cases when people start writing books for money the result is cr*p as well, just in their particular sphere/topic.

A good book is written for fun and to share knowledge and experience. And sometimes it pays back. Sometimes.
Post 17 Oct 2022, 09:03
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 17 Oct 2022, 09:48
DimonSoft wrote:
A good book is written for fun and to share knowledge and experience


the editor agree with you. that's why they ask people to work for nothing.

i think i'll dice my choice.
Post 17 Oct 2022, 09:48
View user's profile Send private message Visit poster's website Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 17 Oct 2022, 12:52
It’s not about editor, it’s about goals. If the primary goal is to earn money, it becomes a necessity to finish writing in particular time, which makes one make decisions on how to save some time when it comes close to the deadline. Even worse, choosing the topic of the book might become a problem: “I don’t have what to write but I have to since that’s what might give me some money”. No good book will appear later on, for sure.

OTOH, when one has an idea, clearly sees its proper implementation and does the work without serious time pressure, the result might be amazing (depends on the author’s skills in general, but in this case on the skills only). And having amazing result plus demand for such book results in people buying it.

Note also that producing a paper book is not cheap, starting from the materials and stuff, through the editors who must read the text looking for mistakes (and they also want to eat) straight to those who are responsible for making the book appear on the shelves. Thus, what the author earns is a very small piece of the pie. To get more the author should better be good at drawing (to make nice illustrations), typesetting (to make the text look good and be easy to read), printing (I mean, you’d better have offset printing device to make it cheaper), etc. Anyway, the idea of your book and how cool it is should be enough to have some profit on top of the costs spent to produce it.
Post 17 Oct 2022, 12:52
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 17 Oct 2022, 16:04
true. the side project i'll make to illustrate the book deserve the effort. the OS would surelly start to be a true thing after that book. and the tools i'll have to use make sense in the way i want this to be.

just imagine if i can write arduino code using fasm, and load it in the devices from the os... would be very interresting.

the dice tend to tell me to write it.
Post 17 Oct 2022, 16:04
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 03 Nov 2022, 16:36
i'll write this book..

maybe under the title, ASM CookBook

and talk mainly about real useage of asm in professional context. Smile
Post 03 Nov 2022, 16:36
View user's profile Send private message Visit poster's website Reply with quote
donn



Joined: 05 Mar 2010
Posts: 321
donn 03 Nov 2022, 16:54
What percent of this do you expect to focus on Professional application versus theory? Professional Assembly Language by Richard Blum was somewhat intended for Professionals but I think people writing drivers have to be way beyond that and people in FinTech for example, using older C/C++ systems (there are a lot of them) mostly would rely on the C interop sections and the theory, of course.

Also just a thought on the longterm benefits of this project: You could certainly make a website with source samples (if the publisher allows it) that people could download. The DirectX 11 learning book author Frank Luna has a website, you could probably put ads on it, I'd imagine.
Post 03 Nov 2022, 16:54
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 03 Nov 2022, 17:04
i would like to write an english version. the editor says i have all rights on the non french versions if i make them Smile
the site, examples and stuff are planned... then i just have to do it Smile
Post 03 Nov 2022, 17:04
View user's profile Send private message Visit poster's website Reply with quote
kernelpanic



Joined: 14 May 2016
Posts: 1
kernelpanic 15 Mar 2023, 04:36
I know only one book in French on the assembler published in 2011 whose examples of code are written for FASM. This book is fabulous. It was it who made me discover Fasm, that I have been using exclusively since.
A new version, more developed, would be highly appreciated, since even if we are all forced to use English to correspond, it is not the language best controlled by all, especially by me (isn't it?).
Post 15 Mar 2023, 04:36
View user's profile Send private message Reply with quote
al_Fazline



Joined: 24 Oct 2018
Posts: 54
al_Fazline 15 Mar 2023, 05:59
A book in other language is a good idea, but I think that perhaps it doesn't need to describe all the instructions the CPU has extensively. It's better to refer to manuals and specifications and only describe how to use them.

Also, I don't think x86 is the best architecture to describe. 8080 or Z80 is much easier to learn for instance.
Post 15 Mar 2023, 05:59
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.