BIOS disassembly
BIOS disassembly
Can someone give me the INT 19h, INT 13h, INT 16h and INT 9 disassembled or tell me where I can find it?
-
- Member
- Posts: 5604
- Joined: Mon Mar 25, 2013 7:01 pm
Re: BIOS disassembly
Go to Appendix A. Everything you've asked for will be in there.
Re: BIOS disassembly
Why don't you disassemble it by yourself?
Hint:
step 1: get the code's offset from IDT
step 2: ???
step 3: disassemble and profit!
It's very easy to do under DOS and saving memory to a file...
Hint:
step 1: get the code's offset from IDT
step 2: ???
step 3: disassemble and profit!
It's very easy to do under DOS and saving memory to a file...
Re: BIOS disassembly
hint: "torrent store" for BIOS source code...
- Bender
- Member
- Posts: 449
- Joined: Wed Aug 21, 2013 3:53 am
- Libera.chat IRC: bender|
- Location: Asia, Singapore
Re: BIOS disassembly
Why bother disassembling a BIOS when you can get the sources right away? (Legally) http://sourceforge.net/projects/superbios/
Adding BIOS Code inside an operating system sounds awful IMO, unless you aren't writing a BIOS or want to just learn how stuff is done at that level I don't think you should need to see a BIOS's source. And disassemblies are themselves awful, data can easily be messed up.
For example:
And you're now confused if it was the code or data!
sortie should get the joke.
Adding BIOS Code inside an operating system sounds awful IMO, unless you aren't writing a BIOS or want to just learn how stuff is done at that level I don't think you should need to see a BIOS's source. And disassemblies are themselves awful, data can easily be messed up.
For example:
Code: Select all
Something like this:
db 'Good Day'
From the assembler's perspective is like:
47 6F 6F 64 20 44 61 79
Gets converted to (iirc)
inc DI
outsw
outsw
<some weird AND instruction here>
.....
sortie should get the joke.
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
(R3X Runtime VM)(CHIP8 Interpreter OS)
Re: BIOS disassembly
Because finding out on your own is fun. Specially when you have gotchas.Bender wrote:Why bother disassembling a BIOS when you can get the sources right away?
Why do you write an OS? Why don't you just compile a linux, it's source also available right away. Isn't it?