dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

C++ grafiskais interrupt's

 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
tiy



Joined: 12 Jan 2007
Posts: 28

PostPosted: Mon Sep 17, 2007 10:43 pm    Post subject: C++ grafiskais interrupt's

Ar sho proceduru ieksh TPascala vareja izsaukt grafisko rezimu, ka var izsaukt, tadu pashu uz c++(tas ir kadas bibliotekas jaieklauj programma)?
Code:

procedure graph_on;
begin
     asm
       mov ah,00h
       mov al,13h
       int 10h
     end
end;
Back to top
View user's profile
Storm



Joined: 11 Apr 2006
Posts: 742

PostPosted: Mon Sep 17, 2007 10:52 pm    Post subject:

*Skaji un Ljauni Smejaas* Pirmkursnieks? XD Search google for DirectX and let ur hell begin! Very Happy
Back to top
View user's profile
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Tue Sep 18, 2007 12:48 am    Post subject:

Interrupti ir neatkarīgi no valodas. Toties tie ir atkarīgi no izmantotās OS (DOS, Windows, Linux, utt...)
Ja tu programmē DOS'ā C++ tad tiem pašiem taviem "interruptiem" ir jāstrādā.
Ja programmē normālākā mūsdienu OS (Windows/Linux/MacOSX), tad paskaties uz tādām bibliotēkām kā SDL vai Allegro. Tās dos diezgan līdzīgu pieeju grafikas zīmēšanai kā slavenā 13h VGA videomode.
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group