flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Custom int 21h

Author
Thread Post new topic Reply to topic
nkeck72



Joined: 28 May 2015
Posts: 83
Location: 0000:7C00
nkeck72
So, have been into the OS for a while now and i've started to wonder if it is possible to create a custom set of int 21h routines so that I don't have to keep calling (for instance) int 10h for individual characters and instead write whole strings stored in RAM?

_________________
It may look hard, but it won't take long if you take it one byte at a time.

NOS: www.github.com/nkeck720/nos
Post 13 Jun 2015, 20:54
View user's profile Send private message Visit poster's website Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek
http://wiki.osdev.org/Interrupt_Vector_Table

Reprogram the IVT to point interrupt 0x21 to the location in memory where your interrupt code's entry point is.
Post 13 Jun 2015, 22:41
View user's profile Send private message Reply with quote
nkeck72



Joined: 28 May 2015
Posts: 83
Location: 0000:7C00
nkeck72
Thanks! Much appreciated.
Post 14 Jun 2015, 21:50
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.