I would like to write my own mini-OS which one should be written to a standard BIOS EPROM (256k).
Thanks AmkG, I have such source code of XT BIOS (also in
printed form).
Does anyone have BIOS source code in assembly for
Intel FX,BX,EX or other chipsets? I mean real source code
with comments, normal variables names, not acquired with
dissassembler.
It doesn't work because you use the same
segment pointer for array and screen:
mov bx,[di] -> mov bx, ds:[di] -> mov bx, 0B800h:[di]
but it should be
mov bx,[di] -> mov bx, ds:[di] -> mov bx, data:[di]
So, you can modify your example as following:
main proc
call outline
;this section...
It doesn't work because you use the same
segment pointer for array and screen:
mov bx,[di] -> mov bx, ds:[di] -> mov bx, 0B800h:[di]
but it should be
mov bx,[di] -> mov bx, ds:[di] -> mov bx, data:[di]
So, you can modify your example as following:
main proc
call outline
;this section...
INT 15 - SYSTEM - later PS/2s - RETURN MEMORY-MAP INFORMATION
AH = C7h
DS:SI -> user supplied memory map table (see #0355)
Note: call AH=C0h and examine bit 4 of feature byte 2 to check if this
function is supported
Return: CF set on error, clear if successful
SeeAlso: AH=C0h,AH=C9h,AH=D1h...
I have small debuggers which allow you to debug programm
with 32 bit instruction
I can send it to you via e-mail
(about 100-200 Kbytes)
If would like to get it write me at:
misternobody@mail.ru
or
misternobody2000@yahoo.ru
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.