Welcome, Guest.
Please login or register.
Search Results - Recent posts as of less than a minute ago
Forum Login
Login Name: Create a new account
Password:     Forgot password

Search Results - Recent posts as of less than a minute ago
10 Pages 1 2 3 4 5 6 7 8 9 10 ... »
Showing 1 - 30 (272 results found)

Re: xblite.exe revision 2.41.16 Posted by: gentsky
Date Posted: May 19, 2017, 7:36pm
Word-Hits
1 (100.00%)
Hi Guy,

Thanks for you response. I think reverting to the 3 instruction prologue instead of ENTER is the best idea.

If you are having space problems with GoAsm I have a couple of suggestions:

1. The version of GoAsm in the current Xblite distribution is very out of date. You could try downloading the latest version from the GoDevTools site and see if it can cope with larger files.

2. If not, could you split your 1 large file into 2 or more smaller ones. Try splitting off a lot of the smaller support functions into a separate .lib or .dll

Cheers,

Alan

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:48am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached XstLog_XstLogGMT.zip, which contains the modified source xsed.x of xsed.exe Revision 1.33.
- The XstLog function.doc
- The XstLogGMT function.doc

Time in log file are by default local time. I added the XstLogGMT function in Xst.x in order to use GMT time.

Please find attached XstLog_XstLogGMT.zip: description of XstLog and XstLogGMT in the style of Xblite manual in attached XstLog_XstLogGMT.zip.

They are .doc, described by MS Word as "Document Word 97-2003".

Could it please, be merged to the Xblite manual: xblite_manual.chm?

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:43am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached xsed_v2_41_16.zip, which contains the modified source xsed.x of xsed.exe Revision 1.33.
- xsed.x
- the custom makexsed.mak
- CompileXsed_bat.txt (to rename CompileXsed.bat)
- a GRAB directory .\xsed\wapi\
- ...

As a matter of safety, CompileXsed.bat will backup your c:\xsed files in directory .\bak\.

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:35am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached xblib_v2_41_16.zip, which contains all the modified sources of XFORMAT.dll Revision 3:
- XFORMAT.x
- the custom makexformat.mak
- BuildXformatLib_bat.txt (to rename BuildXformatLib.bat)

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:30am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached xsx_v2_41_16.zip, which contains all the modified sources of Xsx.dll Revision 23:
- the new xst.h
- xsx.x
- the custom makexsx.mak
- BuildXsxDll_bat.txt (to rename BuildXsxDll.bat)
- a backup directory .\bak\

As a matter of safety, BuildXsxDll.bat will backup your c:\xblite files in directory .\old\, which is created "on the fly".

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:25am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached xbdll_v2_41_16.zip, which contains all the modified sources of Xst.dll Revision 71:
- xst.x
- the new xst.h
- the updated xbl.def (with the new functions)
- the custom makexbdll.mak
- BuildXstDll_bat.txt (to rename BuildXstDll.bat)
- a backup directory .\bak\

As a matter of safety, BuildXstDll.bat will backup your c:\xblite files in directory .\old\, which is created "on the fly".

You'll find also a demo GetFileBOM.x, which uses XstGetFileBOM() to decode the Byte Order Mark of a text file.
It is in directory .\xbdll\GetFileBOM\
- GetFileBOM.x
- GetFileBOM.manifest
- GetFileBOM.rc
- GetFileBOM_gen.vxn (the viXen project)

In directory .\xbdll\GetFileBOM\test_files\
- ascii.txt
- UTF8_BOM.txt
- UTF16BigEnd_BOM.txt
- UTF16LE_BOM.txt

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 18, 2017, 1:16am
Word-Hits
1 (100.00%)
May 17, 2017

Hi Xbliters!

Please find attached xblite_v2_41_16.zip, which contains all the modified sources of Xblite 2.41 Revision 16:
- xblite.x
- the new xst.h (just in case)
- the custom makexblite.mak
- BuildXbiteExe_bat.txt (to rename BuildXbiteExe.bat)
- a backup directory .\bak\

As a matter of safety, BuildXbiteExe.bat will backup your c:\xblite files in directory .\old\, which is created "on the fly".

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 17, 2017, 11:21pm
Word-Hits
1 (100.00%)
Hi Alan,

Thank you so much for your time reviewing my changes: I have a tendency to go one step too many, so I appreciate that you had taken the time to pinpoint my oversight.

I implemented the 'enter' opcode because I exceeded a size limit compiling my program vxbl.x. I found this way to cut the generated GoAsm source down in a safe manner. And I figured:
"If Intel knows of this problem since back to the '80s, they might have speed up their microcode in three decades".

So, since I'm using the compile flag "-rc" to reduce the size of the source.asm file, I can generate 'enter' opcodes when size counts, and the 3 opcode sequence otherwise.

How do you feel about that?
Probably, I'd better forget about the 'enter' opcode altogether, shouldn't I?

In the mean time, I take in account your comment: I'm reverting back this 'enter' addition and I post here a corrected version ASAP.

Bye!
Guy

Re: xblite.exe revision 2.41.16 Posted by: gentsky
Date Posted: May 17, 2017, 2:11pm
Word-Hits
1 (100.00%)
Hi Guy,

Thanks for all you efforts on the new compiler version - I can see you have been very busy!!
I have only recently come back to Xblite after a long absence and am catching up on things. I have looked through xblite.x to see what you have been changing and note that you are doing a lot of tidying up besides your new CODE, GRAB and  STRIP facilities. One such change involves replacing the standard 3 instruction function entry with ENTER. I wonder if you realize just how very slow this is. I am attaching a small test program which compares the speed of various function entry / exit methods. You will see that ENTER slows things down dramatically.

There is an existing problem with xblite.x which causes the function entry to generate 4 excess pushes when initializing the local variables area. This is nothing to do with your changes but dates back to 2007 when the stack frame was modified to include an unwind space of 16 bytes. Various changes were made as a result of this but one seems to have been missed in the initialization routine. It is a minor correction and I am currently testing the fix on a modified xblite.x . I will post a separate entry / test file for this soon.

Best Wishes,

Alan

P.S. For some reason, my file enter.x has been renamed enter_1653.x when I attached it!

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:30am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

Please find attached xblib_v2_41_16.zip, which contains the modified source XFORMAT.x Revision 3.

v0.0003 GL 14 April 2015.
Corrected the 2 following bugs:
Bug 1. FORMAT$ ("***#", 2015) => Good: "2015"   bad: "**%2015"
Bug 2. FORMAT$ ("****", 2015) => Good: "2015"   bad "****"

Added format code '0' to right-justify numbers.
Format code '0' works just like '*',
padding with leading zeroes instead of '*'.

Bye!
Guy1954

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:25am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

Please find attached xsed_v2_41_16.zip, which contains the modified source xsed.x Revision 33.

v1.33 11 May 2017
- GL fixed FormatCode(): should not add a space for CHR$ ( '...'), or STRING$ ( '...').
- GL fixed FormatCode(): no longer replaces \t by spaces in literals.
- GL added RESTORE, CHAR, CHARAT(), ASCII, UTF16_LE, USE_ASCII, USE_UTF16_LE, UNC().
- GL added STRIP keyword.
- GL placed keywords in a DATA statement, which XSEd discards (in FUNCTION GetKeywordDeclarations).

Bye!
Guy1954

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:23am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

Please find attached xsx_v2_41_16.zip, which contains the modified source xsx.x Revision 23.

v0.023 11 May 2017
- GL changed XstGetOSName() to detect windows 10 and Wine.
- GL replaced in XstReplace() XstTally by code for a speedier execution.
- GL added XstUnicodeLen(), which emulates WinAPI lstrlenW().

Bye!
Guy1954

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:21am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

Please find attached xbdll_v2_41_16.zip, which contains the modified source xst.x Revision 71.

v0.071 GL 11 May 2017
- Source code preparation for Unicode support.
  GL added new STRING types: ASCII, UTF-16 LE... in EXPORTed xst.dec.
  GL added file's Byte Order Mark: 0xFEFF... in EXPORTed xst.dec.
  GL removed size limit: STRING*112   .fileName,
     and replaced fileInfo[fileNumber].fileName by FILE_name$[fileNumber].
- GL added XstGetFileBOM(), which decodes the Byte Order Mark of a file.
- GL added XstResetFileBOM(), which resets the Byte Order Mark of a file.
- GL added XstTrimPath$(), which trims a file path.
  (Note that new functions must be added to xbl.def).

Bye!
Guy1954

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:20am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

Please find attached xblite_v2_41_16.zip, which contains all the modified sources of Xblite 2.41 Revision 16.

xblite.x (the Xblite compiler source) handles properly the GRAB statement, which I used heavily to apply the QuickSort algorithm on chosen Xblite numeric and string types thanks to its text replacement capability.

I added some .BAT that helped me re-building compiler and libraries (Warning: I had to rename ".bat" to "_bat.txt" in order to be allowed to attach xblite_v2_41_16.zip).

Please note that I:

1.Commented and restructured the new code of xblite.x for peer review (yours, obviously).

2.Rewrote the STRIP algorithm, and succeeded to cut its execution time in half.

   On my pet program vxbl.x:
    to strip off a single FUNCTION, from 47,580 lines to 47,560 lines,
    duration was 43,578 milliseconds, and is now 19,437 milliseconds.

Bye!
Guy1954

Re: Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: May 11, 2017, 12:07am
Word-Hits
1 (100.00%)
May 11, 2017

Hi D.! Hi Xbliters!

In order to ease the implementation of Xblite's Unicode string support, I added 3 new keywords: CODE, GRAB and STRIP.

In a previous post, you asked me to write a short description of these new Xblite keywords.

Please find attached code_grab_strip.zip: description of CODE, GRAB and STRIP in the style of Xblite manual in attached code_grab_strip.zip.

They are .doc, described by MS Word as "Document Word 97-2003".

I believe you have a way to merge it to the Xblite manual: xblite_manual.chm.

Bye!
Guy1954

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: April 22, 2017, 6:15pm
Word-Hits
1 (100.00%)
Hi Xbliters.

Please find attached the latest revision 16 in xblite_rev16.zip, mainly:
- xblite\xblite.x
- xbdll\xst.x
- xsx\xsx.x
- read_file\read_file.x

You have everything to rebuild the compiler; just rename "_bat.txt" to ".bat" and run the 3 .BAT:
- xblite\BuildXbiteExe_bat.txt for xblite.x
- xbdll\BuildXstDll_bat.txt for xst.x
- xsx\BuildXsxDll_bat.txt for xsx.x.

New are Explicit Integers to described imported data record:

$$INT8                =  2          ' == $$SBYTE : 8-bit integer
$$UINT8               =  3          ' == $$UBYTE : unsigned 8-bit integer
$$INT16LE             =  4          ' == $$SSHORT: Little Endian 16-bit integer (Windows)
$$UINT16LE            =  5          ' == $$USHORT: Little Endian unsigned 16-bit integer (Windows)
$$INT32LE             =  6          ' == $$SLONG : Little Endian 32-bit integer (Windows)
$$UINT32LE            =  7          ' == $$ULONG : Little Endian unsigned 32-bit integer (Windows)
$$INT64LE             = 12          ' == $$GIANT : Little Endian 64-bit integer (Windows)

read_file.x is a test program to test:
- INT32LE (to map to SLONG)
- UINT32LE (to map to ULONG)
actually, you can test with:
INT8 count          ' r16-SBYTE
INT16LE count          ' r16-SSHORT
UINT16LE count          ' r16-USHORT
INT32LE count          ' r16-SLONG, not XLONG
UINT32LE count          ' r16-ULONG
INT64LE count          ' r16-GIANT

I known of a David that would appreciate...

Bye, Guy

Xblite version 2.41 revision 16 Posted by: Guy1954
Date Posted: March 22, 2017, 9:54am
Word-Hits
1 (100.00%)
Hi D.

Please find attached: "Release note for xblite revision 16.zip".
You can find there some advices to install safely Xblite Revision 16.

Hope this helps.
Bye! Guy

sqlite3 files and examples Posted by: XBLiteAdmin
Date Posted: November 17, 2016, 8:41am
Word-Hits
1 (100.00%)
Attached are the sqlite3 libraries which can be used with xblite. There are also a few example programs using sqlite3 functions to create and manipulate records in a database.

Re: static lib Posted by: XBLiteAdmin
Date Posted: November 15, 2016, 12:35am
Word-Hits
1 (100.00%)
It sounds like you need to make sure all of the xblite environment variables are set correctly.
This will ensure the compiler can find all the required files needed to link to libraries, either static or dynamic ones.
See example below:

Name                           Value
----                           -----
INCLUDE                     G:\xblite\include;G:\xblite\include;include
LIB                            G:\xblite\lib;G:\xblite\lib;lib
M4PATH                      G:\xblite\include;G:\xblite\include;include
XBLDIR                       G:\xblite

To check if the environment variables are correctly set, you can open a Command Prompt console and type SET, or
in Windows 10, from Run, enter Powershell, then type Get-ChildItem Env:

In Windows, to manually change/edit the environment variables, Open Control Panel > System & Security > System > Advanced System Settings and in the System Properties Dialog under Advanced tab, click on Environment Variables. From there you can see the current variables for xblite, which are INCLUDE, LIB, PATH, M4PATH, and XBLDIR.

Re: X SED Posted by: XBLiteAdmin
Date Posted: November 15, 2016, 12:07am
Word-Hits
1 (100.00%)
XSED is written in xblite. The source code is available to download with the xblite source code from the xblite.com website.

http://xblite.com/xblite_241_src.zip

X SED Posted by: teslaXB
Date Posted: October 26, 2016, 10:25pm
Word-Hits
1 (100.00%)
hi
I have question about XSed editor.
i know that is based on SED by jose roca.
Is XSED written in XBlite ?
And if is ..is open source ?
And if is where i can found source code?
thanks!

static lib Posted by: ly47
Date Posted: September 20, 2016, 9:44pm
Word-Hits
1 (100.00%)
Hi
when compiling with static libs : IMPORT "xst_s.lib" IMPORT "xsx_s.lib" (benchmark.x)
Lots of errors.
But when changed to IMPORT "xst" IMPORT "xsx",  compiles fine.
I tried other examples that use static libs ,all the same errors.
Please help
thaks
ly

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: August 13, 2016, 2:08am
Word-Hits
1 (100.00%)
Hi Xbliters,

I corrected a (rare) bug in the handling of GRABbed file paths.
Please, download the attached version of xblite.x, with the proper xst.dec that contains additional constants, such as $$ASCII, $$UTF16_LE...

Bye! Guy

Re: XBLite Release 17 Posted by: Guy1954
Date Posted: June 12, 2016, 7:59pm
Word-Hits
1 (100.00%)
Hi Xbliter.

I spend a whole week testing the GRAB and CODE statements.
I threw as many curveballs as I could think of, and they were to no avail.

Please find attached my latest version of XBLite compiler revision 16.

Bye! Guy

Re: XBLite Release 17 Posted by: Guy1954
Date Posted: June 8, 2016, 9:26pm
Word-Hits
1 (100.00%)
Hi Xbliter,

I succeeded to break the new GRAB directive!
The patch to correct the bug was just an IF condition change.

I uploaded the corrected xblite.x, so that you can get a chance to catch another corner case.

Bye! Guy

Re: XBLite Release 17 Posted by: Guy1954
Date Posted: June 5, 2016, 4:16pm
Word-Hits
1 (100.00%)
Hi Xbliters,

This is ASCII xblite compiler with 2 additional features:
1. CODE and END CODE, which injects assembler code by bulk-prependding with the keyword ASM
  CODE and END CODE are 2 new XBLite keywords (and therefore recognized by the XBLite compiler)

2.GRAB "file_to_grab", which is an IMPORT statement at pre-compilation time
  GRAB is _not_ a new XBLite keyword but a pre-processing directive.

Note that GRABbing an assembler source file will insert the assembler source between a pair of (CODE, END CODE) for proper compilation.

Bye! Guy

Re: xblite.exe revision 2.41.16 Posted by: Guy1954
Date Posted: May 2, 2016, 11:48am
Word-Hits
1 (100.00%)
Dear Xbliters,

The compiler xblite version 2.41 revision 16 must be installed
in order to compile revision 17, which handles Unicode.


However, revision 16 offers new possibilities for GoAsm code
injection; as a for instance, here is how I emulated (for fun) the
standard function XstCopyMemory (sourceAddr, &dest$, bytes) in
xblite.x revision 17 (compilable with revision 16):

               ' r17-XstCopyMemory (sourceAddr, &dest$, bytes)

'#################################################################
' r17-assume a 32 bit processor
CODE
     mov     ecx,[EmitString.bytes]      ; byte count
     jecxz > .is_zero32_end              ; LEN(source$) == 0

     mov     esi,[EmitString.sourceAddr] ; source string
     mov     edi,[EmitString.dest$]      ; destination string

     shr     ecx,2
     jecxz > .is_zero32_01     ; LEN(source$) <= 3
     cld
     rep movsd                    ; 32-word shuffle

.is_zero32_01
     mov     ecx,[EmitString.bytes]
     and     ecx,3
     jecxz > .is_zero32_end
     cld
     rep movsb                    ; the very last bytes

.is_zero32_end
END CODE
'#################################################################

I believe that Coders such as bushpilot and gentski will
appreciate the convenience of this CODE statement, drawn
from my needs as an assembler Noob.

The GRAB statement was also great help in xsx.x in order to
generate "typed" quick sort routines from a single "grabbed"
snippet.

However, I would appreciate if you put it to the test as I can't
cover all the regressions, in spite of my heavy duty testing.

Happy xbliting!
Bye! Guy

Re: Creating .dec Posted by: XBLiteAdmin
Date Posted: March 2, 2016, 11:31pm
Word-Hits
1 (100.00%)
Hi Peters,

Did the DLL come with any library or header files (perhaps C files?). You need to match the correct TYPE definitions for variables in the DLL functions. Otherwise, data is not aligned correctly. You may want to post the .dec file you created.

David

Re: Creating .dec Posted by: Peters
Date Posted: January 12, 2016, 10:22pm
Word-Hits
1 (100.00%)
I have managed to create .dec file by following other threads.
All seemed to be working ok, until some off my numeric variables were going completely haywire.
I remembered this happening last time, and again someone gave me a fix. PLEASE PLEASE help me as I have no idea what to do to resolve it.
Peters

Creating .dec Posted by: Peters
Date Posted: December 26, 2015, 11:04pm
Word-Hits
1 (100.00%)
Several years ago I asked for help to use a dll file called inpout32.dll (Control Parallel Port)  by creating a dec file. My request was answered and fulfilled rapidly. Thank you
Well here I am again, and with the loss of parallel ports I need to change my program to use a USB port. I have found (But not yet bought) some hardware called VELLEMAN KIT K8055N USB Experiment Interface Board Electronics Kit, and with it is supplied dll named K8055D.dll. can you help me by preferably creating the required dec and lib files please.
Please ask if more info required.
Peters

10 Pages 1 2 3 4 5 6 7 8 9 10 ... »
Showing 1 - 30 (272 results found)