OS Development • Re: How do you load your OS
OSDev.org
by neon
2h ago
Hi, Been awhile, this may be simplified in the future but don't expect much changes to the process. Legacy BIOS: - mbr (if applicable) loads bootsect - bootsect loads nboot (contains nstart+nboot.exe) - nstart enters protected mode, relocates & runs nboot.exe - nboot stores the boot device number globally - firmware mm services initialized UEFI: - nboot stores the boot device number globally - firmware mm services basically just call UEFI here Firmware independent entry point: - int3 command loop if ndbg detected - device tree created - reads nboot.lst on the Boot Device - main loop if ..read more
Visit website
General Ramblings • Re: What editor do you use?
OSDev.org
by H4XLABZ
4h ago
I actually prefer using fed from dos.... It has alot of syntax highlighting features as well as a bookmark feature where you can set a bookmark and jump back to it. Statistics: Posted by H4XLABZ — Fri May 10, 2024 7:43 pm ..read more
Visit website
General Ramblings • Re: What editor do you use?
OSDev.org
by eekee
11h ago
Today, I gave up and installed emacs. With a larger project to do, I got tired of non-customizable, non-programmable text editors. I got emacs because I know emacs lisp and [far too much about] emacs customization. I love being able to just script whatever I want. Statistics: Posted by eekee — Fri May 10, 2024 1:56 pm ..read more
Visit website
General Programming • I ported a 32 bit crc calculating assembly program to 16 bit
OSDev.org
by H4XLABZ
11h ago
If any of you need this feel free to use it. ;;CALCULATES THE CRC-32 OF THE VALUE POINTED AT BY [DS:SI] AND STORES THE ;;32 BIT RESULT IN LOCATION POINTED TO BY [ES:DI] IN LITTLE ENDIAN ;;SPECIFY HOW MANY BYTES TO USE FROM [DS:SI] WITH THE CX REGISTER CRC_32_CALCULATE: PUSH SI PUSH DS PUSH DI PUSH ES PUSH AX PUSH BX PUSH CX PUSH DX MOV [CS:CRC_32_CALCULATE_EDI+0], DI MOV DI, ES MOV [CS:CRC_32_CALCULATE_EDI+2], DI MOV [CS:CRC_32_CALCULATE_ESI+0], SI MOV SI, DS MOV [CS:CRC_32_CALCULATE_ESI+2], SI MOV AX, 0FFFFH MOV [CS:ART_32_REG_EAX], AX MOV [CS:ART_32_REG_EAX+2], AX MOV BX, CRC_32_P ..read more
Visit website
Announcements, Test Requests, & Job openings • Re: PdAndro
OSDev.org
by kerravon
20h ago
kerravon wrote: PdAndro is designed to work within that restriction. No rooting required. And just to be clear - it doesn't do that by emulation of some sort - it runs executables at full native ARM32 speed. The major switch to win32arm has been experiencing technical difficulties, which has delayed it - but they may have been resolved. The technical difficulties have been overcome. However, there will be a delay as I see how far I can push this now that it is working (with -O0). -rw-r--r-- 1 kerravon kerravon 4120064 May 10 12:17 gcc-new.exe [kerravon@paul-pinebook gcc]$ cmp gccprm.e ..read more
Visit website
Announcements, Test Requests, & Job openings • Re: PdAndro
OSDev.org
by Octocontrabass
20h ago
eekee wrote: I must admit I don't understand the current interest in MSDOS 4. Two weeks ago Microsoft made it open source. Statistics: Posted by Octocontrabass — Fri May 10, 2024 4:24 am ..read more
Visit website
OS Development • Re: ACPI - Providing Ramdisks to the OS with NVDIMM (NFIT)
OSDev.org
by Octocontrabass
20h ago
human00731582 wrote: From the ACPI 6.4 specification, in Section 5.2.25.2: Huh, I must have overlooked the part where NFIT can also describe RAMdisks. For a RAMdisk, you should only need the SPA Range Structure in your NFIT and a stub ACPI0012 device in your SSDT. How old is the Linux kernel you're testing with? It looks like support for this was added to Linux around version 4.8. human00731582 wrote: I've had my SPA as Index 0 this whole time, except when trying other mixtures to see what sticks, and nowhere does the specification imply I also need the NVDIMM Region Mapping Structure to ..read more
Visit website
Announcements, Test Requests, & Job openings • Re: PdAndro
OSDev.org
by kerravon
22h ago
eekee wrote: eekee wrote:I've got my very old 32-bit phone out & will see how that goes. If the app doesn't work, I've got some other ideas. It turns out that even my 2013 phone won't let me exec my own binaries. I'm only allowed to create files where I'm not allowed to exec, and vise versa. (I should have rooted it when the info was easy to find.) PdAndro is designed to work within that restriction. No rooting required. Can I download the APK without using the Google Play store? This (from Robert) appears to be up-to-date: https://github.com/robertapengelly/Pdos ... o/releases ..read more
Visit website
Announcements, Test Requests, & Job openings • Re: PdAndro
OSDev.org
by eekee
1d ago
eekee wrote: I've got my very old 32-bit phone out & will see how that goes. If the app doesn't work, I've got some other ideas. It turns out that even my 2013 phone won't let me exec my own binaries. I'm only allowed to create files where I'm not allowed to exec, and vise versa. (I should have rooted it when the info was easy to find.) Can I download the APK without using the Google Play store? Statistics: Posted by eekee — Thu May 09, 2024 6:37 pm ..read more
Visit website
Announcements, Test Requests, & Job openings • Re: PdAndro
OSDev.org
by eekee
1d ago
kerravon wrote: eekee wrote:I need technical things to quietly do on my tablet; thanks! However, there are issues; some of them rather serious. Everything you mentioned is related to the user interface provided by Android with about 800 lines of Kotlin code. This code was written by Jean-Marc for me as a favor, after I told him that I just needed something minimal. So I was given something minimal - public domain too. And Robert is the one who published on the Google Play Store - "because he could" - not because he committed to maintaining that code. My work starts when the Kotlin code cal ..read more
Visit website

Follow OSDev.org on FeedSpot

Continue with Google
Continue with Apple
OR