Thank You Ashley4,
I get an error with the push statement
operation size not specified
I am using NASM
It also happened with some other code I tried
about the Operating System
these calls to BIOS have got me thinking that it is easier than I thought
I interviewed someone today who is developing his own OS
and so we are going to get our heads together on the project
I would like to start it from scratch, so I know exactly how it works
I will be creating also a GUI
my interviewee thought it would take about 20 programmers to create
an OS, but we could start with just the 3 of us
my plan, way back 10 years ago was to do it via volunteers over the
internet, so that may happen
I really need to know why I get an error with the push statement
because as soon as I get a pixel on screen I will be up and running
and feeling very enthusiastic
: There are fast ways and slow ways, bios is to slow,This will put a pic on screen.
:
: org 100h
: mov ax,0013h ; get into graphic mode
: int 10h
:
: push 0xA000 ; push address of screen
: pop es ; put it in es
:
: xor di,di ; zerow di (top left and corner of screen)
: mov al,03h ; put the color of pic in al
: stosb ; put the whats in al at the addess [es:di] ,al
:
: xor ax,ax ; wait for key press
: int 16h
:
: mov ax,0x0003 ; go back to text mode
: int 10h
:
: int 20h
:
:
: Im making a os thats like a32bit pmode dos, call "Dos Extreme" let me know if you would like to no more.
:
: ASHLEY4.
: