IonicWind Software

IWBasic => The Roundtable => Topic started by: Ficko on May 06, 2007, 01:02:13 PM

Title: ccProject Revitalised!
Post by: Ficko on May 06, 2007, 01:02:13 PM
Hi guys!

I like to revitalize the GAME of the ccPack! ;D

I see that it isn’t going very well may due to the lack of challenge or lack of info how it is actually works.

How it is exactly be done may should be explained by â€Ã...“Copexâ€Ã,.

What I thought up to put some more challenge and randomity into the game to get some new commands written partially or entirely in assembler! ;)

So we can reduce the size of code and speed up Ebasic and not slow down with new commands!

It would be a game of art and coo production.

What I mean that a new (alpha) command should be tested and optimized by others of performance or/and size so we can get a piece of art out in a form of a fine tuned new command!

I like to start this Game with a â€Ã...“classicâ€Ã, ccRevInstr command.
;D

Zip attached.

This is NOT the full cc just the new commands!


Title: Re: ccProject Revitalised!
Post by: Copex on May 07, 2007, 03:10:38 AM
I have updated the full archive attached to the original post http://www.ionicwind.com/forums/index.php/topic,1175.0.html , the chm file is created useing HTML Help workshop V4.xx (see http://tinyurl.com/q3s47)

Copex.

02-07-07 - updated full archive to include ccproject0019 .
Title: Re: ccProject Revitalised!
Post by: Ficko on May 07, 2007, 07:48:45 AM
Thanks Copex for the quick respond! :D

I will check out the HELP workshop in turn.

I added a new command and extended the functionality of the ccRevInstr() as well.

I had updated the link above!

The new command -ccZeroSubVars()- original idea is not from me I found it somewhere on the forum but it is a "muss" so I had to optimize and put it here. ;)

Title: Re: ccProject Revitalised!
Post by: Copex on May 08, 2007, 03:16:16 AM

i have updated the main archive as above, keep up the good work :-)
Title: Re: ccProject Revitalised!
Post by: Ficko on May 13, 2007, 05:34:17 AM
Hello!

I will change the way I used to post changes on this forum.

I will announce only new commands in the future!
I gave the "ccProject.zip" a running number. "ccProject0001.zip"

The number will increase if changes be made.
The zip has a "changes.log" inside, which will document the changes made.

There is a MAJOR bug fix right now to ccFandR()!

Csaba :D
Title: Re: ccProject Revitalised!
Post by: Haim on June 03, 2007, 11:10:49 PM
Great work!
Thanks for sharing.
Haim
Title: Re: ccProject Revitalised!
Post by: Egil on June 04, 2007, 12:55:48 AM
This is a splendid idea -  Thanks for sharing!

Downloaded the HTML Help  Workshop 4.xx and made a new project help file.
Title: Re: ccProject Revitalised!
Post by: Ficko on June 04, 2007, 04:29:09 AM
Thanks Egil!

That's great! ;D
I included the "Help.chm" in the Zip above! :D
Title: Re: ccProject Revitalised!
Post by: Egil on June 04, 2007, 06:32:55 AM
Found an obvious printing error in the file:  ccEBPath.html .
In addition the text search didn't turn out correctly.

Corrected these items and uploaded the corrected file. Sorry I didn't see this before uploading the first time.
Title: Re: ccProject Revitalised!
Post by: Ficko on June 04, 2007, 11:13:46 AM
Thanks Egil

but don’t worry about small mistakes. :D
I intended this topic to being a developer site not to publish a final product.
I am frequently improving the pack adding staff , fixing bugs etc. too.

But I think it is better to make a new idea  public when it is working to some degree than sitting on it for years may never get to others. ;)

I do have some new commands again. ;D

ccMulInt32()
ccMulInt64()


Little FPU usage sample may start of a tailor made FPU.lib ;)

added
ccDivInt64()

It is 48% speed improvement to "A64/B64" ;D
Title: Re: ccProject Revitalised!
Post by: Ficko on June 06, 2007, 09:16:13 AM
One more new command and I am going to take a break now! ;D

ccOPENCONSOLE()

With extended attributes! :D
Title: Re: ccProject Revitalised!
Post by: Copex on June 06, 2007, 01:13:56 PM

i have removed the ccFindAndReplace, and updated the full archive @ http://www.ionicwind.com/forums/index.php/topic,1175.0.html
Title: Re: ccProject Revitalised!
Post by: Ficko on June 09, 2007, 01:19:47 PM
Four new commands and #s of improvements ;D

ccSHL()
ccSHR()
ccROL()
ccROR()


Focusing on 64bit logics. :D
Title: Re: ccProject Revitalised!
Post by: Ficko on June 10, 2007, 09:49:23 AM
Added
ccRCR() ;D
ccRCL() to complete the set


Redesigned the whole principle behind this emulations so it can be used more easily.
Title: Re: ccProject Revitalised!
Post by: Ficko on June 26, 2007, 01:58:14 PM
Some new commands:

ccInsertItem()
with integrated
LVSort CallBack function.

To easily sort big -or small- Listview columns.

Lots of improvements on old functions.
Like caseinsensitive ccFandR() ccInstr() etc. :D

Title: Re: ccProject Revitalised!
Post by: Ficko on June 27, 2007, 01:52:22 PM
Another one

ccSort()

a fast and universal sorting command for
char,
word,
uint,
int64 and String -variable size- arrays :D
Title: Re: ccProject Revitalised!
Post by: LarryMc on June 27, 2007, 02:39:09 PM
Just to say thanks for all your efforts.
They are appreciated.

Larry
Title: Re: ccProject Revitalised!
Post by: Ficko on June 28, 2007, 11:00:14 AM
Thank You Larry! :D

I just extended the
ccSort() command

to sort all the EB variable type arrays.

added: SChar
          SWord
          Int
          Uint64  :D
Title: Re: ccProject Revitalised!
Post by: Brian on June 28, 2007, 12:07:01 PM
Hi,

Just wondered what the link was to the latest and greatest version

Thanks for your efforts,

Brian
Title: Re: ccProject Revitalised!
Post by: LarryMc on June 28, 2007, 12:09:28 PM
Look at page 1
Title: Re: ccProject Revitalised!
Post by: pistol350 on July 06, 2007, 05:40:17 AM
Hi all!
I'd like to add my first functions to the Community Command pack Project
these are very simple functions that can also be very useful.

i called this minmax.inc  :D

declare Min(imin:int,jmin:int),int
declare Max(imax:int,jmax:int),int

/* min function definition */
Sub Min(imin:int,jmin:int),int
if (imin<jmin) then
return imin
else
return jmin
endif
return 1
endsub



/* max function definition */
Sub Max(int imax, int jmax),int
    if (imax<jmax) then
return jmax
    else
return imax
endif
return 1
endsub


here is a simple example code

$include "minmax.inc"
int i,j

OPENCONSOLE
i = Min(5,8)
j = Max(5,8)
PRINT "min : ",i
PRINT " "
PRINT "max : ",j
PRINT " "
PRINT "press any key to close"
DO: UNTIL inkey$<>""
CLOSECONSOLE
END


I hope it can be helpful to anyone here
regards.
Peter
Title: Re: ccProject Revitalised!
Post by: Ficko on July 26, 2007, 11:30:35 AM
Cool Peter ! :D

But I am not running the ccProject you have to turn to â€ËÅ"copex’ with that.

This topic is about assembler or EB-assembler mix code dedicated to speed up EB with new or newly designed commands.

If you have something like that you are welcome! :D

Thanks,
Csaba