Talk:Multiboot1 Bare Bones: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
== Linkage ==
 
Is everyone comfortable with switching to external linkage rather than pushing things on the stack and then picking them up as arguments? The current way seems less natural, less readable, and is dependent on the calling convention. --[[User:Love4boobies|Love4boobies]] 04:17, 15 May 2012 (CDT)
 
== main -> kmain ==
 
Line 57 ⟶ 53:
Wouldn't it be better to teach how to create a FAT/ext2 GrUB boot disk?, hence simplifying debugging (and allowing the same code to be expanded to load multiboot modules, and be accessed by the kernel)
:People may not want to implement either of these file systems. They may not even want file systems at all. I find the current approach to be more general. --[[User:Love4boobies|Love4boobies]] 01:06, 27 November 2010 (UTC)
 
== Linkage ==
 
Is everyone comfortable with switching to external linkage rather than pushing things on the stack and then picking them up as arguments? The current way seems less natural, less readable, and is dependent on the calling convention. --[[User:Love4boobies|Love4boobies]] 04:17, 15 May 2012 (CDT)
 
:I thought it a good idea to show how stuff pushed by ASM can be popped by C. It was also closer to the example code provided by GRUB. But that was back when there ''was'' no x64 calling convention. In that light, I think external linkage ''would'' be better. But then, try to make sure that you make the chance in ''all'' "Bare Bones" articles. We should strive to have them so things as similar as possible, the only differences being those demanded by the language. -- [[User:Solar|Solar]] 07:21, 15 May 2012 (CDT)
448

edits