flat assembler
Message board for the users of flat assembler.

Index > Windows > sometimes crash, sometimes good

Author
Thread Post new topic Reply to topic
pabloreda



Joined: 24 Jan 2007
Posts: 104
Location: Argentina
pabloreda
Hi

Well I'm working in the R4 compiler and I have a generic interface to windows (r4win.asm) and the code compiled (cod.asm and dat.asm).
In my developer PC this work OK (wxp home without updates), but in my connect pc (new, with wxp pro and more updates) sometimes crash and sometimes not crash. at start.

I guess in the SYSUPDATE and the event loop when start the aplication but I not have deep WIN knoledge.
sure the mistake are in r4win.asm...

anybody can help me, thankĀ“s in advance..

Pablo


Description: source code and exe from R4 program
Download
Filename: codigo.rar
Filesize: 170.42 KB
Downloaded: 31 Time(s)

Post 16 Feb 2007, 15:55
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
I think I fixed your example, the only problem was that you weren't setting up the DDSURFACEDESC structure correctly for the surface Lock to succeed. Everything seems to work after the correction. See [r4win.asm - function SYSREDRAW] for the changes from your original code. All that out of the way, your game looks very nice, I especially like the large and crisp graphics! Have you added sound yet? I'd like to see it when the sound is working or added!
Again very well done!

[EDIT] and perhaps an english translation for the text?


Description: Fixed Game Example
Download
Filename: codigo.rar
Filesize: 152.43 KB
Downloaded: 31 Time(s)

Post 17 Feb 2007, 23:17
View user's profile Send private message Reply with quote
pabloreda



Joined: 24 Jan 2007
Posts: 104
Location: Argentina
pabloreda
Thank you very much !!!
MadMatt

I plan add sound and net later, too much work to do now.
please goto my site www.reda4.org and download the interpreter, you can modify all the game, include the text buttons.

A traslation of the first manual to english is coming... I release with the compiler...

Again... THANK YOU...
Post 17 Feb 2007, 23:51
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.