Hi, I need a function to count a Line on a File. Also a Function to detect is it a Blank comented line or not.

You can have it source code on my site, use MASM32 to compile it. And how to made my prog recognize a label Jump ?

Tararengkyu sadayana :alright:
Posted on 2003-05-27 02:43:39 by realvampire
CR = Carraige Return = 0xD
LF = Line Feed = 0xA

Microsoft line endings are CrLf
Machintosh uses Cr only
Linux uses Lf only

Some platforms use a Cr followed by multiple Lf's for multiple lines (which makes sense)

Parsing seems to be one of those things that has to be reinvented every time, even if you use RegEx.

Be careful, GPF's are easy to create while parsing. Keep your code simple so that it'll be easy to follow with a debugger.
Posted on 2003-05-27 03:19:39 by eet_1024
Im now rearrange my Code to made it more Simple.
Posted on 2003-06-20 09:14:59 by realvampire
Here is the New version, Much better in the size, and the code are more simple. I need a text Edit code sample to Show and hide the control. Thanks.
:alright:
Posted on 2003-06-26 07:57:43 by realvampire
Support label. But only for function. I allocate 190KB for it. At least it can hold a few thousand of procedure. Im still improoving it. Modified it are allowed, Hope you can studied it and have a few good experience.:alright:
Posted on 2003-07-09 08:03:39 by realvampire
I fix some Bug. Im still finding a way to make the code more simple. Variableshould use 'Data' syntax.

example:


var1 data
dw 200


main proc

mov si,offs var1 ; the address
mov ax,[si] ; the value

Posted on 2003-07-12 18:42:52 by realvampire
I have fix RM function. It now support data.




mov eax,[var1] ; The Value
mov eax,alamat var1 ;The address
mov eax,offs var1 ; The Address

var1 data
dd 20

Posted on 2003-07-18 21:26:33 by realvampire
Forgot to attach it. Hope this is the right one.
Posted on 2003-07-18 21:30:36 by realvampire
Support FPU.
Posted on 2003-07-30 22:09:11 by realvampire
You can change prefix function with



[Bits #32]
[Bits 10]
prefix




It all the Same. And also some New FPU Instruction. Im still studying HLA syntax and MASM invoke Syntax.
Posted on 2003-09-05 20:17:38 by realvampire
Finish the 1024x768-24Bit resolution Graphic function. Hope someone can Optimize it, It still to slow.
Anyone can guide me to Multi Task switch?
Posted on 2003-09-18 02:59:49 by realvampire
Updated. Now it took 103 second on my Intel Celeron 1.8 Ghz. Yes it is, Slow on performance. Im re-Build it again now. Update DOS-Graphic Library.
Posted on 2003-10-08 21:31:42 by realvampire
At least 7~10 times more fast. But I have not done it yet. I have found the bug. It located at the DrawSC function and at DptOpcode function. Complete, I update the source. Everything Done. Its all working now. I need MMX opCode information.

It took 103 second before, now it just 13 second. Im still fasting it.

BTW: Anyone know how to use bosch Emulator? The file I want to emulate are located at D:\Compiler\Compiler\Result\Result.com.

Im editing the Post.
Posted on 2003-10-22 19:14:23 by realvampire
Too Bad I cannot access my WebSite. I found a Nice DOS emulator named DosBox(I forgot where it was).

I add a new feature named "Debug". It can Show you the Opcode, Good for learn. Check it Out.

For Software emulation, lets wait DosBox to be Completed. Or maybe you interest to join The Development (While Im Waiting?:grin: ).

Please Note: Im not this site Owner.
Posted on 2003-10-31 11:04:00 by realvampire
6 times more fast on my system, Win98, 128 MB memory, 1.78 Ghz procesor.

now able to to use mod RM :
example: mov eax,.

Thanks for DownLoading it, please answer. I will put your name as Beta tester on my assembler.

BitRake: Can you tell me how to count a clock cycle. Hope I can made something interesting.
Posted on 2003-11-11 08:56:16 by realvampire
Posted on 2003-11-11 09:09:48 by roticv
For your age, you are greater than me. Great job(I saw your package).
Can you tell me how to use the .bin?(see you tommorow, Got to go sleep).
Posted on 2003-11-11 09:17:38 by realvampire
A fasm example (profile.bin should be in the same folder as the asm file):
Posted on 2003-11-11 09:51:40 by roticv
Ummm...,


RMImm:
mov d.[esi],FF00FF00
mov b.[esi+eax*4+3],20

Finish The CharOut and TextOut Graphic Function. Load Default Font comming soon Finished.

Posted on 2003-11-20 11:09:05 by realvampire
The AttachMent.
Posted on 2003-11-20 11:11:13 by realvampire