Questions tagged [bios]
The BIOS software is built into the PC, and is the first code run by a PC when powered on ('boot firmware'). The primary function of the BIOS is to load and start an operating system.
931
questions
-1
votes
1
answer
28
views
How to get out of bios mode? [closed]
something happened to my computer and it got restarted. I entered into bios screen with all those settings.I bymistake clicked restore to default settings and now my computer is working very slow and ...
-2
votes
0
answers
9
views
Fedora Dualboot Installation [closed]
I am trying to dual boot fedora with windows 10 pro. i am able to boot into fedora using USB but in the installation window it doesn't detect any disks so i can't install it.
(my laptop is dell ...
1
vote
1
answer
27
views
How to move two boxes at multiplayer if input buffer reads only one character at a time?
I am writing an assembly program for two boxes moving at the same time and I want the two players on the same pc to move with each other. How to do that with int 16h/1 and int 16h/0
I tried it with ...
1
vote
0
answers
32
views
How to reconfigure the TDP of my N100 intel alder lake processor?
I have an N100 Intel Alder Lake processor, that can be configured to adhere to TDP of 6, 10 or 15 W. Intel calls this "TDP Up" and "TDP down" How do I do that?
N100 at Intel Ark
...
-2
votes
0
answers
9
views
how delete grud in boot window?
here I come to see you today because I installed ubunto in dual boot and I then deleted the partition intended for ubunto in the Windows disk manager so I would like to know today how to delete the ...
-1
votes
0
answers
17
views
I cant disable CSM to enable secure boot [closed]
I upgradet to Windows 11 and now I need secure boot to play Valorant. But I cant disable CSM to enable secure boot. Maybe because of the little star next to the CSM option in the BIOS My Aorus BIOS. ...
0
votes
0
answers
23
views
Confused about memory holes [duplicate]
I'm trying to make a small 64-bit kernel (x86), and i recently found out about memory holes, but even after googling for a while i couldn't find all the answers i wanted.
If i understand it correctly, ...
1
vote
1
answer
60
views
How to get a emu8086 program to output a result?
Here is my assignment:
Write a program to divide two 8-bit numbers using successive subtraction method using 8086. Multiply this result with 7365. Display this result in Blue color on the output ...
0
votes
0
answers
15
views
Question for the dos EGA 0E mode port programming
I have a function call DrawPixel5, reverse engineered from dos debug.exe.
It's a game code snipset, worked at EGA 640*200 mode (AL=0E), I know it should draw a pixel in A000:[di]. I want to re-write ...
0
votes
1
answer
107
views
How to fix Disk Read error when trying to read sector
I am following this tutorial on building a simple operating system. My problem is it calls a disk load function, and when I boot it up, it gives me a Disk read error. Here is my boot_sect.asm code:
[...
3
votes
0
answers
74
views
Convert Raw SMBios table to human readable text with batch
The purpose of the project is to understand how to read the data and, if possible, filter a specific value. I would like to avoid using 3rd party tools.
To read out the raw bios data I use wmic:
wmic /...
-1
votes
0
answers
31
views
qemu is giving me an error I don't understand
I was following along with a Youtube tutorial: https://www.youtube.com/watch?v=9t-SPC7Tczc&list=PLFjM7v6KGMpiH2G-kT781ByCNC_0pKpPN
and when we got to first loading the software in qemu, I was ...
1
vote
2
answers
178
views
Concrete and useful example of Int 13H AH=00h
Can I have a concrete and useful example of Int 13H AH=00h. An example coded in nasm on a processor operating in 16 BITS mode so that I can understand in practice, Int 13H AH=00h must have an ...
1
vote
1
answer
128
views
What is the use of Int 13H AH=00h
I don't understand the use of Int 13H AH=00h on my virtual floppy img.
I created an img virtual diskette from the command line:
copy amorce.com/B+programme.com/B disk.img /Y
The floppy disk is ...
0
votes
0
answers
12
views
Unable to find Virtualization option in bios settings
I am trying to install docker desktop, for this virtualization need to be enabled.But I am not able to find this option in bios settings on HP Pavilion laptop. I am using windows 10 operating system.
...
1
vote
0
answers
36
views
SMBIOS 3 Get Structure table address and number of structures
I'm coding an standalone smbios library. Following the standard 3.6.0 by DMTF.
See edit for a partial answer (Unsure if it is optimal)
It works just fine for SM tables (32 bits) but I can't seem to ...
0
votes
0
answers
17
views
How to turn it on emulator Android-studio
Android Studio requires connection to the emulator, but an error is displayed: "Haxm is not installed" and the emulator does not want to work, but VT-x is included in the bios and is ...
1
vote
1
answer
34
views
Is there a way to save the boot log in of the simics launch demo?
Is there a way to save the boot log in of the simics launch demo?
I build my own testbios and it works but I want to see the bootprocess log.
While I run the Launch demo I can see this one on serial ...
3
votes
1
answer
177
views
Why is BH not used as an argument in the BIOS teletype function (`ah=0Eh` `int 10h`)?
The interrupt ah=0Eh int 10h displays a character on the screen, it has several parameters including BH, which is supposed to indicate the page number, except that after several tests I realized that ...
0
votes
0
answers
35
views
is Virtualization in BIOS must be updated before BitLocker Installation and concerned Disk Encryption?
I am unable to succeed enabling Virtualization in my system BIOS. My system is having BitLocker and concerned Disk Encryption done already, the concerned PIN is been set already and it is the same PIN ...
3
votes
1
answer
78
views
How does an int instruction know which registers to use when it runs?
I'm a student studying the Assembly Language(NASM) and I need some clarification on how the interrupt "function" or int knows which registers to "run". I have figured out that a ...
0
votes
0
answers
21
views
intel ACM execution
Please, i have a doubt about intel ACM that i can't clarify... the texts i have read, included some intel manuals, seeems to me a bit ambiguous and not absolutely clear.
I would like to know whether ...
0
votes
1
answer
62
views
How do I change the names shown on boot menu?
enter image description here
I have two ssd's (Samsung and EVM) with windows 11 on my Acer predator PH315-54 laptop. They show as "Windows Boot Manager" on my Boot Menu in BIOS.When I try to ...
0
votes
0
answers
49
views
what is the relation between BIOS and the benchmark instruction pair `CPUID` and `RDTSC/RDTSCP`?
Recently when I read ia-32-ia-64-benchmark-code-execution-paper, it says what to do if the Section 3.2.2 method fails.
Analyze the variance of the variances and the variance of the minimum values
to ...
-1
votes
1
answer
56
views
Inconsistent SATA DevicePath naming in UEFI
I am trying to have ability to distinguish various SATA disks in UEFI. I try to use DevicePath for this. I use protocol gEfiDevicePathProtocolGuid to retrieve DevicePath and after i convert it to text ...
0
votes
1
answer
83
views
C# - how do i get last bios time?
Hello i need to get the last bios time in my c# application.
(not the current bios date or last boot date, but the bios time from task manager)
is this information saved in registry? how exactly can ...
2
votes
1
answer
151
views
Timer callback in UEFI application is hanging only in AMI BIOS
While porting UEFI application from AARCH64 to X64 i ran into following problem: application was hanging after enabling periodic timer (timer is used in application for I/O polling). Timer callback ...
0
votes
0
answers
80
views
Memory Read Error in the default BOCHS BIOS
I am debbuging a floppy with BOCHS using the default BIOS. It errors at fffffff0 which is in the bios. It has the following error:
bx_dbg_read_linear: physical memory read error (phy=0x0000322f3130, ...
1
vote
3
answers
83
views
How to add color in assembly OS code in qemu?
I am trying to set red color for text in this code:
[bits 16] ;кажемо коду що юзаєм 16 бітний формат
[org 0x7c00] ;адрес де біос буде завантажувати бутлоадер
start:
xor ax, ax
mov ds,...
2
votes
1
answer
87
views
INT 13h cannot read beyond specific sector
I am writing a kernel for my operating system and I have ran into a problem while loading a sector of a disk to memory.
Here is the portion of the code of the function that loads the sector from the ...
0
votes
0
answers
34
views
Printing a string in a boot sector
I was trying to print a string in a boot sector and have the following code:
[org 0x7c00]
mov ah, 0x0e
mov bx, msg
call print
mov bx, msg1
call print
jmp $
print:
mov al, [bx]
int ...
-1
votes
1
answer
21
views
How can I boot an os on a clean pc? [closed]
I have made bootable an USB key with mint on it. But when I launch my PC HP Pro Book x360 11 GE EE:
it checks the harddisk and sees no boot device with the error hardDisk 3F0 which is normal because ...
-1
votes
1
answer
46
views
Turn on pc on remotely
So I'm going away for holidays and I only take a Laptop with me. My plan is that I plug my PC into a smart home plug which I can control on my smartphone and if I turn on the plug I the PC should ...
0
votes
1
answer
57
views
Stack Initialization Problem in Real Mode: How to Properly Initialize the stack?
I am writing a simple boot loader in x86 assembly, here is the code for it :
org 0x7C00
section boot start=0x7C00
; initializing the stack
mov ax,0xF000
mov ss,ax
mov sp,0xFFFF
mov bp,0xFFFF
; ...
0
votes
0
answers
34
views
(IDA 7.2) How to Save a section of the database to a new database
I have a binary file from 1Mbyte that I dumped from an old DOS computer and created a database for reverse engineering the bios. Over the last several weeks I've worked through the upper 256K bytes ...
0
votes
0
answers
8
views
Every connected part of my computer isnt working (and i dont know who to ask)
Ive just patched (or whatever its called) a usb drive with a windows 10 iso using balenaEtcher. When I then booted into the usb (by setting the #1 boot priority to the usb) and suddenly, anything ...
0
votes
0
answers
113
views
fptw64.exe -closemnf issue
under windows,type command "fptw64.exe -closemnf",it will fail.
error 683: Get SPI MMIO failed
error 683: Get SPI MMIO failed
error 64: Failed to initialize SPI interface
Dose anyone know ...
4
votes
1
answer
79
views
Why is the pixel not showing when i turn its position into variables ? Assembly 8086 NASM
Im trying to make a ball with Assembly 8086 NASM using the INT 10H and DOSBOX, in UBUNTU
like this :
MOV AH, 0Ch ; function to write the pixel
MOV AL, 0Fh ; color of the pixel (set to white)
MOV BH,...
0
votes
0
answers
148
views
Read Flash ROM via Super I/O (Winbond W83627DHG)
I have an Intel DG41WV motherboard equipped with a Winbond W83627DHG Super-I/O and I'm trying to read the contents of the flash memory (Winbond W25Q80) via SPI through LPC.
The datasheet isn't exactly ...
0
votes
0
answers
60
views
x86 Assembly: At the end of the program get a strange output
I wrote a simple code for change the color of the screen but at the and of the instructions i get a strange output.
I know exist better ways to change the color but is just a test.
The program work ...
0
votes
1
answer
164
views
edk2 build error /nologo tbuild failed to build winhost in windows 10
I am a newbie to edk2, and I am trying to setup and build the edk2 as explained in the following link [edk2 tutorial wiki](https://github.com/tianocore training/Tianocore_Training_Contents/wiki).
but ...
0
votes
0
answers
37
views
Retaining and Referencing linkers for paging passed 64kb in a standard BIOS
Today I am investigating more into linker files. I've been prototyping BIOS programs for many months now and I've mainly managed to run my models for debugging by ld commands
For the longest time I ...
0
votes
1
answer
121
views
The machine restarts when it starts its own OS
I am developing my OS from scratch on C. I have a problem that I can't solve for 2-3 months.
When I try to output a pixel, it is not output to the screen. And when I try to call 13h mode for 256 ...
0
votes
0
answers
53
views
Specifying file system on a bootloader
I have a simple bootloader code to display a hello world message, and it works correctly when flashed into the boot sector from a usb drive, but when acessing files, the disk turns into RAW, and when ...
1
vote
1
answer
142
views
Get Input Result with int 0x16
I did this simple input function that finished when the user press the enter key:
input:
mov ah, 0x00
int 0x16
cmp al, 0x0d
je enter_press
jne enter_not_press
enter_press:
ret
...
0
votes
0
answers
40
views
How to draw Pixels in high resolution (1920x1080 or 1366x768) on screen in protected mode using x86 ASM or C? [duplicate]
I am trying to build a Hobby Operating System and I have successfully built my own two stage bootloader which handles control to the kernel after switching to protected mode. I am able to display ...
0
votes
0
answers
55
views
Shutdown in assembly [duplicate]
I just started programming in assembly, I started with a simple program with a print, input and new line function. Then I wondered how to shutdown the machine and I found this function online:
...
1
vote
0
answers
55
views
Bios Firmware - How to step through software interrupt [closed]
I have a desire to reverse engineer the INT 1A software interrupt on an old Phoenix Bios from the late '90s. The bios firmware is shadowed so I can debug in RAM. I've been trying several old DOS ...
4
votes
1
answer
86
views
PCI Bios 2.1 Question - How to set device interrupt
I am in hopes someone with PCI programming experience would lend me some advice.
I own a piece of test equipment (Logic Analyzer) which uses an old Pentium class (circa '97) motherboard running Win98 ...
2
votes
0
answers
39
views
Why the 15MB Size limit for bzImages
I'm working with bzImage to boot a x86 version of my kernel in a virtual machine via U-Boot.
U-Boot set a size limitation for bzImage's of 15Mb though.
U-Boot git
I patched to size limitation to 45Mb ...