ednutting

About

Username
ednutting
Joined
Visits
279
Last Active
Roles
Administrator

Comments

  • This article also outlines the operation of the Drivers Compiler: http://www.flingos.co.uk/docs/reference/Drivers-Compiler/
  • Hi Jack, Firstly, extremely sorry that your discussion wasn't published months ago. An automatic update to the site switched on a moderation feature that I had no idea about so there was a "hidden" list of discussions I wasn't aware of. If you're s…
  • Hi, Firstly, extremely sorry that your discussion wasn't published months ago. An automatic update to the site switched on a moderation feature that I had no idea about so there was a "hidden" list of discussions I wasn't aware of. On the off chanc…
  • That's very odd given that Ld doesn't even have a --T option. See this page: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/invocation.html#OPTIONS But this may be because you chained commands …
  • Hi, No problem! Always happy to help. So there's a few things to tackle here: 1. Cygwin is a "Linux tools for Windows" wrapper. It usually distributes with a complete set of GCC tools. These _will_ contain Ld. So it _will_ have "Ld.exe" - it's sim…
  • Glad you got it working! Hopefully the remaining tutorials will go more smoothly. If in doubt, just clone the repository of example code and it should work. You could then use a diff tool such as Beyond Compare to compare your own work with the exam…
  • Lastly, if you look at the provided examples on GitHub you will see there is a Build.bat. This contains a script with all the necessary commands for compiling/building. You can run it from the command line by saving Build.bat to your project folder …
  • Oh and there are really only two alternatives: Use the GNU Assembler (called AS) but it uses a totally different assembly code syntax so you'd have to convert all the sample code. Or simply skip ahead in the videos to where it shows how to use th…
  • Hi, Sorry I thought something looked wrong with that command yesterday. It's missing the format specifier! As shown in the video, please use the following command: Tools\NASM\nasm.exe -g -f elf -o Kernel.o Kernel.asm Hopefully that will work now. …
  • Oh and looking in more detail, make sure "nasm.exe" is in "D:\OS\Syndrom\BOOT\TOOLS\NASM" not "D:\OS\Syndrom\BOOT\TOOLS\NASM\nasm".
  • Aah I see, you're mixing up the "cd" (set Current Directory) command with the call to the NASM program. Also, your Kernel.asm is in the wrong folder. So, move "Kernel.asm" from "D:\OS\Syndrom\BOOT\TOOLS\NASM" to "D:\OS\Syndrom\BOOT". Then use the …
  • Hi Matthias, Just to make sure, you are trying to do this on Windows? If not, you will need to adjust the commands accordingly - there are tutorials online (e.g. on OSDev.org) that will show you how to get started from Linux. You can still use the …
  • Thank you very much! Very happy that you like the content Cheers, Ed
  • Hi BG, Glad you find them helpful! Yes, you can definitely do all 32-bit development on a 64-bit machine. In fact, I've not used a 32-bit processor for development for quite some years now. NASM doesn't actually require installation - it's a st…
  • Hi! The sample code for most of the tutorials starts with "cli" immediately after "_Kernel_Start". This means that interrupts are disabled throughout the initialisation process - right up until `sti` is executed (which happens in the 8. Interrupts …
  • Hi, Just to let you know, the most recent commits to the 'develop' branch bring major stability and performance improvements. In particular, use of semaphores has significantly improved system responsiveness as it is no longer doing multiple spin-wa…
  • Hi, There are two factors affecting this: 1) Speed of your host system 2) (More significantly) The FlingOS code is totally unoptimised and deliberately uses simple (rather than efficient) algorithms. The master branch also doesn't have some of the …
  • Hi Luca, Just to let you know that the latest commit on this branch: https://github.com/FlingOS/FlingOS/tree/VS2015 has just compiled FlingOS and FlingOops successfully and both executed properly in VMWare and VirtualBox. The changes are x86-only (…
  • Hi, Glad you like the project. Regarding the error you're seeing, can you please answer the following so I can help diagnose the issue? 1. The linker path is showing as /cygdrive/c/... Are you running the FlingOS compiler through Cygwin by any ch…
  • No problem and no, sorry. This forum is currently powered by Vanilla Forums without plug in for code etc so it's just simple text for now (and possibly links - I forget exactly what's available). When I get time I'll expand the forum capabilities
  • Hi, This is because NASM produces 32-bit code and you're running the system's Ld on a 64-bit system so it will be expecting 64-bit machine code. Modifying the command as you have produces 64-bit code which might be fine but be careful it doesn't us…
  • Hi Luca, Thanks for your post! We haven't tested VS2015 recently so not sure if it works in that version or not. MSBuild underwent a lot of changes between 2013 and 2015 including a few breaking changes. We will be testing again in the New Year. Ac…
  • Hi Cameron, Thanks for your question. You can split the large assembly code into multiple files by following these steps: 1. Create new .asm files and copy the separate sections of code into them 2. Your split-up code will now have two issues: >…
  • Hi, Thanks for the feedback! Glad you liked the tutorial and that you were able to resolve your issue. This sounds like a character/file encoding issue, which Sublime is better at handling than notepad. We recommend using Notepad++ as it is very …
  • Hi, Glad you were able to resolve your issue. Sorry we didn't reply sooner - everything's been pretty hectic here and to top it off, the Vanilla Forums notification system went down without us noticing! For others reading this the parameters to the…