flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Newbie Question

Author
Thread Post new topic Reply to topic
Sarge



Joined: 04 Nov 2005
Posts: 14
Location: Australia
Sarge 08 Feb 2006, 07:35
Hi,

I was wondering how to print "get" commands for example:

Code:
GetVideoMode_:
        mov ah, 0Fh
        int 10h    

now i want to write the current video mode to the screen.

I know i really need to get some asm books, but for the time been i really need help.

_________________
Thanks,
Sarge
Post 08 Feb 2006, 07:35
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 08 Feb 2006, 09:42
1.convert byte to string
2.print string


Description:
Download
Filename: vidmode.2.zip
Filesize: 1.1 KB
Downloaded: 423 Time(s)


_________________
UNICODE forever!
Post 08 Feb 2006, 09:42
View user's profile Send private message Visit poster's website Reply with quote
Sarge



Joined: 04 Nov 2005
Posts: 14
Location: Australia
Sarge 08 Feb 2006, 09:51
Shoorick,

I must say thank you again, you have really helped me alot from those two posts.

Thanks,
Sarge
Post 08 Feb 2006, 09:51
View user's profile Send private message Reply with quote
oscar



Joined: 01 Feb 2006
Posts: 5
oscar 08 Feb 2006, 10:43
hmm...handy...


Edit: cept it is for dos is the only problem....is it possible to do it in bios mode?


Last edited by oscar on 08 Feb 2006, 12:02; edited 1 time in total
Post 08 Feb 2006, 10:43
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Sarge



Joined: 04 Nov 2005
Posts: 14
Location: Australia
Sarge 08 Feb 2006, 11:51
Stupid mistake sorry.

Thanks,
Sarge
Post 08 Feb 2006, 11:51
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 08 Feb 2006, 13:23
oscar > same way, just use bios function to output string instead of int 21h
Post 08 Feb 2006, 13:23
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.