flat assembler
Message board for the users of flat assembler.

Index > DOS > VGA examples?

Author
Thread Post new topic Reply to topic
me239



Joined: 06 Jan 2011
Posts: 200
me239 24 Jan 2011, 21:45
Hello! I've recently been really wanting to get into making VGA programs and I wanted to know if some people could give me a few examples of VGA graphical effects. Not routines like 'PutPixel' or anything of that nature, but things that could possibly be used as screen savers like 'Starfield' or something like that. If you could, please keep the examples small. THANKS! Very Happy
P.S. I've already seen the 17 byte demo thread
Post 24 Jan 2011, 21:45
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 24 Jan 2011, 23:59
Post 24 Jan 2011, 23:59
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 25 Jan 2011, 00:18
I have a simple example, it use 99% bios functions, so runs from a bootable floppy. As well as from dos.


Description:
Filesize: 14.49 KB
Viewed: 7700 Time(s)

MinDos.jpg


Description:
Download
Filename: fire.asm
Filesize: 5.48 KB
Downloaded: 661 Time(s)

Post 25 Jan 2011, 00:18
View user's profile Send private message Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 12 Jun 2011, 17:01
i run Dex4u's fire on winxp and it closed after several seconds, could anyone do eternal loop
Post 12 Jun 2011, 17:01
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 12 Jun 2011, 18:45
idle wrote:
i run Dex4u's fire on winxp and it closed after several seconds, could anyone do eternal loop

you could replace the main loop with this
Code:
Main_Loop:
        Wait_VR
     Text_Stuff
  Draw_Flame
  Calc_Flame
        mov     ah,0x01
        int     0x16
        jz      Main_Loop 
    

This will stop it when a key is pressed or for a continue loop replace it with this
Code:
Main_Loop:
        Wait_VR
     Text_Stuff
  Draw_Flame
  Calc_Flame
        jmp     Main_Loop 
    
Post 12 Jun 2011, 18:45
View user's profile Send private message Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 12 Jun 2011, 20:51


Description:
Filesize: 8.41 KB
Viewed: 7633 Time(s)

2011-06-13_234449.png


Post 12 Jun 2011, 20:51
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 12 Jun 2011, 20:59
Laughing Laughing Laughing Laughing
Post 12 Jun 2011, 20:59
View user's profile Send private message Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 26 Jun 2011, 10:37
see graphical effects section
;translated
http://translate.google.com/#ru|en|http%3A%2F%2Fnostalgy.net.ru%2Fdemo.htm
;original
http://nostalgy.net.ru/demo.htm
Post 26 Jun 2011, 10:37
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.