Skip to main content
0 votes
1 answer
30 views

I am building an operating system for the x86_64 ISA. I am to the point in my development where I want to begin to display things graphically for the user, and therefore wish to retrieve the monitor/...
Sermir's user avatar
  • 1
Advice
0 votes
7 replies
68 views

Re-asked as a normal question (not opinion-based / discussion) as How Does One Retrieve a Video Output's Preferred Resolution? This version should be deleted.
Sermir's user avatar
  • 1
3 votes
1 answer
164 views

I have been reading MS-DOS 1.00 source code. Link: https://www.pagetable.com/?p=165 One of the times where the developer decided to save a register, that is preserved by BIOS? print xor ...
Ld120's user avatar
  • 75
Advice
0 votes
2 replies
81 views

I found the source code for ms dos 1.00 on the internet which only has bootloader and ibmbio.com/io.sys disassembled So I have some questions. Is it difficult to write a real mode OS similar to this ...
Ld120's user avatar
  • 75
0 votes
2 answers
182 views

https://github.com/PoutineSyropErable/MapleKernel The BareBones dir. debug2 branch. e5cf6d69e3f9f053 commit hash. How is a proper 32PM -> 16RM mode switch done on modern x86_64? My 16 bit code is ...
Self learning student's user avatar
1 vote
0 answers
78 views

How are CPU far jump instructions handled? What I mean to ask specifically is, what determines where the next instruction after the far jump is fetched from? I'm asking this in a context of the very ...
Amad's user avatar
  • 137
2 votes
2 answers
160 views

Well, I'm writing my own OS just for fun, and I thought it would have been cool to add a bytecode "language" interpreted by the kernel itself. I took inspiration mainly from Java, which is ...
varevind's user avatar
2 votes
1 answer
60 views

It's my first time writing x86-16 assembly. I'm writing a bootloader game, but I'm struggling with iterating through level data. I'm attempting to iterate through a 2d array - each byte of this array ...
Nishiiya's user avatar
2 votes
1 answer
104 views

I am writing a simple bootloader (and, hopefully soon, an operating system). I have been making progress, but this part is stumping me a bit. I am writing this operating system and bootloader into a ...
Ryan Grube's user avatar
0 votes
0 answers
71 views

I'm working in NASM, for DOSBox, in 16-bit real mode. At 15th line, I trying to output field_separator string, but get my .asm file content. I suspect that I'm using the wrong register, or that I've ...
kingley's user avatar
2 votes
0 answers
217 views

As we all know, we can use assembly code to make the x86 CPU that supports ia-32e mode step by step from the real mode to protected mode and then to ia-32e (64-bit mode). However, many articles on the ...
sanzenyou's user avatar
  • 109
0 votes
1 answer
163 views

General Backstory: I am utilizing NASM 2.15.05 real-mode instructions with qemu-system-x86_64 as my current virtual machine for software debugging and serial output. I have generated a disk image of ...
EchoXTeknology's user avatar
4 votes
0 answers
81 views

I have a boot sector that does the following, tested as a floppy in qemu-system-i386: .code16 movw $0xd00, %bx ## machine code: 0xbb 0x00 0x0d *Switch to Protected mode here, ...
caciquekampeon's user avatar
1 vote
0 answers
152 views

In a MBR, the following code in the preboot environment allocates a buffer of 10Kb by subtracting 10h from the total amount available : seg000:7C1D sub word ptr ds:413h, 10h seg000:7C22 mov ax, ds:...
Nerios's user avatar
  • 43
0 votes
1 answer
166 views

In real mode, an x86 CPU can only see address space that ranges 0x00000 to 0xFFFFF. MBR code is loaded into 0x07C00 by the BIOS. If that MBR code immediately switched into protected mode, where in the ...
Melab's user avatar
  • 3,052

15 30 50 per page
1
2 3 4 5
20