flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
asmgges 26 Jan 2004, 16:24
Hi !
![]() Small test DirectX and Fasm please ? You have to obtain a window of 640x480 black with color message , and a small sprite which you can move with the direction keys ESC to quit. Addresses for surfaces Directx with Fasm are difficult to manipulate, that is why I ask you for this small attempt. Thanks Friendly..Gges
|
|||||||||||
![]() |
|
decard 26 Jan 2004, 16:27
take a look at this: http://board.flatassembler.net/topic.php?t=599
![]() |
|||
![]() |
|
asmgges 26 Jan 2004, 16:59
No No Decard
![]() http://board.flatassembler.net/topic.php?t=599 In this thread there is a file test.exe which blocked all my system!!! = > REBOOT. |
|||
![]() |
|
asmgges 26 Jan 2004, 17:20
You did not give me of result of test ?
Mine is not going to crashed your system ...... ![]() Friendly..gges |
|||
![]() |
|
kamilh 26 Jan 2004, 19:14
it worked on my system (win XP DX9)
|
|||
![]() |
|
asmgges 26 Jan 2004, 19:36
Hi ! kamilh
![]() Big thanks. ![]() Friendly..Gges |
|||
![]() |
|
decard 26 Jan 2004, 20:42
Sorry but I couldn't test it then - I wasn't at home and I didn't have enough time to do it. But now I tested it and it works fine (WinMe, DirectX 7.1)
![]() |
|||
![]() |
|
VitalOne 27 Jan 2004, 06:33
This was just cool, nice
![]() |
|||
![]() |
|
asmgges 27 Jan 2004, 09:18
Hi ! Decard VitalOne
![]() Thanks for this test, you are nice people! This program directx is a little bit different with regard to that supplied with Fasm. In the example presented with Fasm program works: _ In full screen mode, _ Files for sprites are in size .gif. _ A single large surface is used. In mine program works: _ In window mode, but makes easily with little modified code work in full screen mode. _ The size of file is .bmp, yes an a little bit special bmp because it can not be seen correctly with a software of drawing, it uses a small very simple converter / decoder of my manufacture. _ There are several surfaces. The biggest problem which I had until now was access reading / writing to the various surfaces because of actual addresses. Privalov had given me a very good solution but it limits to use this solution in an appeal to a single subroutine. If subroutine is called by another subroutine there is error in the access to the address of surface. With some craftiness and precautions of code this problem can be resolved. That is why this test is important. The purpose is to know if it works before writing programs and more complex games and which asks for a lot of time in programming and in assembler Fasm naturally. If it does not work, the way is false, search for another way. Ps: purpose is to make graphic programs easily, programs which work on most of versions Windows, these programs will be in source opened , not commercial , public domain, no license, accessible and modifiable by all. Sorry, bad English Friendly.....Gges |
|||
![]() |
|
vid 27 Jan 2004, 21:20
hi, i'm the one who created that (crashy) test. It seems to work on XPs, but not on 98s. Maybe it is caused by DX version? I checked everything at least three times, i tried to change whatever i could but it still crashes. I dont have 98 to test it, i must always post it here or crash friend's comp
![]() asmgges: maybe you could try to lock all non-primary surfaces with flag which tells not to take mutex (= lock process), i don't remember it's name. I don't remember it's name, you should look it up in docs. I never used this way, i rather keep pictures in my own structures, hw accelleration of blitting smaller pics is lost because DX wastes more time in it's procs than drawing would take. |
|||
![]() |
|
asmgges 28 Jan 2004, 09:05
Hi ! vid
![]() Your programm Win95 DirectX7 no work. Crash is not a problem. It is necessary to try programs to advance. Do not hesitate to put them on-line when you want. I would try them with pleasure. ![]() Friendly..Gges |
|||
![]() |
|
vid 28 Jan 2004, 19:08
asmgges: then just watch tg2d thread, i am posting new version of tg2d there.
|
|||
![]() |
|
asmgges 29 Jan 2004, 12:46
Hi ! vid
![]() Perfect ,OK now ![]() Very good work !! ![]() Friendly...Gges |
|||
![]() |
|
vid 29 Jan 2004, 19:05
you say previous version of tg2d didn't work and this does? decard just told that it still doesn't work on his, so it would be interesting.
|
|||
![]() |
|
asmgges 29 Jan 2004, 19:12
Yes new version works with Win95.
A small rectangle of colours which passes on the screen since the left superior corner towards the right-hand side? It is well it? Friendly..Gges |
|||
![]() |
|
vid 29 Jan 2004, 21:56
yes. That means there were more bugs
![]() |
|||
![]() |
|
lamer 17 May 2013, 14:10
it worked on windows 7, thats how good it was coded.
![]() |
|||
![]() |
|
HaHaAnonymous 17 May 2013, 14:56
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:31; edited 1 time in total |
|||
![]() |
|
lamer 17 May 2013, 14:59
HaHaAnonymous wrote:
So, how it all ended, you beated Gabe Newell in gamedev world or came close? ![]() |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.