flat assembler
Message board for the users of flat assembler.
Index
> Windows > Simple Calculator |
Author |
|
Force 11 Oct 2012, 23:21
This is my first Fasm program
|
|||||||||||
11 Oct 2012, 23:21 |
|
typedef 14 Oct 2012, 14:59
Please use standard zip files next time.
|
|||
14 Oct 2012, 14:59 |
|
nmake 14 Oct 2012, 20:03
Here is my first fasm program
|
|||||||||||
14 Oct 2012, 20:03 |
|
JohnFound 14 Oct 2012, 20:47
nmake, sorry but your program fails on my WinXP with following error message:
"The instruction at $40345b referenced memory at $95f000. The memory could not be written." |
|||
14 Oct 2012, 20:47 |
|
nmake 15 Oct 2012, 01:05
The first address you are referring to is a dib section. If you get an error there it would have failed to create a dib section on your system. If it fails to create one the function will return NULL and the pointer to that dib section would be null if it failed. The second memory address you provide (95f000) must have been added on top of the null address, and my program cannot have done that in the first place as it goes way beyond the boundaries of the screen.
The error message you are providing is faked. It is impossible to get a memory address of that kind with the instruction address you provided, just totally impossible. After years of reverse engineering you learn to see this instantly The program would have crashed at address 9620 (while trying to write below the minimum application address) and below the lowest system granularity. But if it is not faked I would do a virus scan if I were you. Also switch operating system, XP is heavily outdated, it doesn't even support condition variables. |
|||
15 Oct 2012, 01:05 |
|
nmake 15 Oct 2012, 02:07
This is not my first fasm program, it is a different one, a simpler one. Usually the first thing you do in a d3d program is to draw the typical triangle with different rgb colors. Here is a GDI version of it.
|
|||||||||||
15 Oct 2012, 02:07 |
|
nmake 15 Oct 2012, 02:12
Here is my second fasm program (or game)
|
|||||||||||
15 Oct 2012, 02:12 |
|
tthsqe 17 Oct 2012, 04:05
Hey - a fellow calculator writer!
I like the opening effect in the interface - did you copy the window and blit parts of it? Also, I would recommend a calculator posted a while back on the forum at http://board.flatassembler.net/topic.php?t=14015. It has some more powerful features. |
|||
17 Oct 2012, 04:05 |
|
Force 17 Oct 2012, 23:23
hey tthsqe !!!
I saw ur calculator its good.... mine is simple because i m new in assembly |
|||
17 Oct 2012, 23:23 |
|
KevinN 07 Mar 2013, 06:41
These are cool examples. I vote to move it to examples board, but maybe its still good here
|
|||
07 Mar 2013, 06:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.