Nurse
Nurse

Reputation: 143

How can I do simple stuff with assembly?

I am trying to experiment with assembly (OS independent) by using the following code with bochs on windows machine.

start:
    hlt
times 510-($-start) db 0
dw 0xaa55

This only halts the machine but I wanna start experimenting with simple stuff like Drawing dots on the screen (and coloring them later on), printing messages, loading other assembly or C applications from that simple boot loader. Where can I find help concerning that ? Would you please provide simple examples if there are no decent sources to teach such stuff ?

Upvotes: 0

Views: 114

Answers (1)

icyrock.com
icyrock.com

Reputation: 28598

Take a look at this SOq:

Specifically, this is the link that might be useful to you:

At the bottom of the last page, you have both the PDF and the code.

Upvotes: 1

Related Questions